aboutsummaryrefslogtreecommitdiff
path: root/etc/network.subr
diff options
context:
space:
mode:
authorCrist J. Clark <cjc@FreeBSD.org>2002-03-12 20:25:25 +0000
committerCrist J. Clark <cjc@FreeBSD.org>2002-03-12 20:25:25 +0000
commit7a82d7421f906dee2204033ae6f203468e1d7868 (patch)
tree631789583beb43057c923c9fa1d3f3fe690ca9c0 /etc/network.subr
parente0864be24c90acddb48fbadf8163904c9f7e2c98 (diff)
downloadsrc-7a82d7421f906dee2204033ae6f203468e1d7868.tar.gz
src-7a82d7421f906dee2204033ae6f203468e1d7868.zip
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
Notes
Notes: svn path=/head/; revision=92184
Diffstat (limited to 'etc/network.subr')
-rw-r--r--etc/network.subr3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 0b8c39d50427..426ec2f0a012 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -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
#