Bug 247949 - rc.firewall: Merge equal conditional blocks
Summary: rc.firewall: Merge equal conditional blocks
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Mark Johnston
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2020-07-13 12:04 UTC by Jose Luis Duran
Modified: 2020-07-30 03:34 UTC (History)
1 user (show)

See Also:


Attachments
Merge two consecutive conditional blocks into one. (481 bytes, patch)
2020-07-13 12:04 UTC, Jose Luis Duran
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Luis Duran 2020-07-13 12:04:30 UTC
Created attachment 216418 [details]
Merge two consecutive conditional blocks into one.

Merge two consecutive conditional blocks with the same test into one.
Comment 1 commit-hook freebsd_committer 2020-07-23 15:04:30 UTC
A commit references this bug:

Author: markj
Date: Thu Jul 23 15:03:29 UTC 2020
New revision: 363449
URL: https://svnweb.freebsd.org/changeset/base/363449

Log:
  rc.firewall: Merge two identical conditions into one.

  No functional change intended.

  PR:		247949
  Submitted by:	Jose Luis Duran <jlduran@gmail.com>
  MFC after:	1 week

Changes:
  head/libexec/rc/rc.firewall