summaryrefslogtreecommitdiffstats
path: root/etc/network.subr
diff options
context:
space:
mode:
Diffstat (limited to 'etc/network.subr')
-rw-r--r--etc/network.subr4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr
index 2146b90..59f5370 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -85,6 +85,7 @@ network_pass1() {
else
echo 'Warning: IP-filter module failed to load.'
# avoid further errors
+ ipfilter_active="NO"
ipmon_enable="NO"
ipfilter_enable="NO"
ipnat_enable="NO"
@@ -298,11 +299,12 @@ network_pass1() {
# Re-Sync ipfilter so it picks up any new network interfaces
#
- case ${ipfilter_enable} in
+ case ${ipfilter_active} 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