summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/routing
diff options
context:
space:
mode:
authorcjc <cjc@FreeBSD.org>2002-03-12 20:25:25 +0000
committercjc <cjc@FreeBSD.org>2002-03-12 20:25:25 +0000
commitbde27f5c3cd935c6b16c38c8701a5922b0edaaac (patch)
tree631789583beb43057c923c9fa1d3f3fe690ca9c0 /etc/rc.d/routing
parent915168b6f7165fbaa526de9fee1a57501a2b1114 (diff)
downloadFreeBSD-src-bde27f5c3cd935c6b16c38c8701a5922b0edaaac.zip
FreeBSD-src-bde27f5c3cd935c6b16c38c8701a5922b0edaaac.tar.gz
The reload of ipf(8) rules should depend on $ipfilter_enable, not
$ipfilter_active. $ipfilter_enable is set to "NO" if modules fail to load, and $ipfilter_active can be "YES" when we are not using ipf(8). MFC after: 3 days
Diffstat (limited to 'etc/rc.d/routing')
-rw-r--r--etc/rc.d/routing3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 0b8c39d..426ec2f 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -298,12 +298,11 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
- case ${ipfilter_active} in
+ case ${ipfilter_enable} in
[Yy][Ee][Ss])
${ipfilter_program:-/sbin/ipf} -y ${ipfilter_flags} >/dev/null
;;
esac
- unset ipfilter_active
# Initialize IP filtering using ipfw
#
OpenPOWER on IntegriCloud