From e946956c6c7d9cdf81f34d66fb0b0411fdf9b4b3 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Wed, 28 Jan 2015 21:01:55 +0000 Subject: [PATCH] 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 --- etc/rc.d/ipfilter | 1 - 1 file changed, 1 deletion(-) diff --git a/etc/rc.d/ipfilter b/etc/rc.d/ipfilter index d540a6f98646..79c2b2e5f181 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}