summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-02-11 02:43:58 +0000
committercy <cy@FreeBSD.org>2015-02-11 02:43:58 +0000
commit8eb333920f0dab3cea27c1e6f71a65b6554f016e (patch)
tree2e877b717a117825b8ee2bcaa9961741c00b8e11 /etc
parent38c1f41175d431b8e038bec7f26191c845ec8041 (diff)
downloadFreeBSD-src-8eb333920f0dab3cea27c1e6f71a65b6554f016e.zip
FreeBSD-src-8eb333920f0dab3cea27c1e6f71a65b6554f016e.tar.gz
MFC r277854:
ipfilter 5.1.2 (vs 4.1.28 in previous releases of FreeBSD) stores IPv4 and IPv6 rules in a single table. ipf -6 -Fa will flush the whole table, including IPv4 rules. This patch removes the redundant ipf -I -6 -Fa statement. PR: 188318
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/ipfilter1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/rc.d/ipfilter b/etc/rc.d/ipfilter
index d540a6f..79c2b2e 100755
--- a/etc/rc.d/ipfilter
+++ b/etc/rc.d/ipfilter
@@ -65,7 +65,6 @@ ipfilter_reload()
err 1 'Load of rules into alternate set failed; aborting reload'
fi
fi
- ${ipfilter_program:-/sbin/ipf} -I -6 -Fa
if [ -r "${ipv6_ipfilter_rules}" ]; then
${ipfilter_program:-/sbin/ipf} -I -6 \
-f "${ipv6_ipfilter_rules}" ${ipfilter_flags}
OpenPOWER on IntegriCloud