[Bug 243091] redundant lines in /etc/rc.d/ipfw

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 4 17:42:28 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243091

            Bug ID: 243091
           Summary: redundant lines in /etc/rc.d/ipfw
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: conf
          Assignee: bugs at FreeBSD.org
          Reporter: michael at galassi.us

In the file /etc/rc.d/ipfw, in the function ipfw_prestart() there is some
unneeded repetition.  Specifically, the variables firewall_nat64_enable,
firewall_natv6_enable, and firewall_pmod_enable are each checked twice so that
if any one of them is set the required_modules variable will have the relevant
module added twice.  This is harmless but clearly incorrect.

The fix is to delete lines 46 to 54 inclusive.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list