Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jan 2020 17:42:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243091] redundant lines in /etc/rc.d/ipfw
Message-ID:  <bug-243091-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243091

            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@FreeBSD.org
          Reporter: michael@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 t=
hat
if any one of them is set the required_modules variable will have the relev=
ant
module added twice.  This is harmless but clearly incorrect.

The fix is to delete lines 46 to 54 inclusive.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243091-227>