summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2015-01-28 21:01:55 +0000
committercy <cy@FreeBSD.org>2015-01-28 21:01:55 +0000
commit4c0192c35b4a231b0d12674f53cfe8ab5f88acf8 (patch)
treed6f65b903faf00d1973dcb69e58a889f0706d74b /etc/rc.d
parent0c952fe87fba8fb4904beb266e6ea958d66af440 (diff)
downloadFreeBSD-src-4c0192c35b4a231b0d12674f53cfe8ab5f88acf8.zip
FreeBSD-src-4c0192c35b4a231b0d12674f53cfe8ab5f88acf8.tar.gz
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 MFC after: 2 weeks
Diffstat (limited to 'etc/rc.d')
-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