summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/rc.network b/etc/rc.network
index 340be28..1f50bea 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -275,6 +275,20 @@ network_pass1() {
;;
esac
+ # Re-Sync ipfilter
+ #
+ case ${ipfilter_enable} in
+ [Yy][Ee][Ss])
+ ${ipfilter_program:-/sbin/ipf -y}
+ ;;
+ *)
+ case ${ipnat_enable} in
+ [Yy][Ee][Ss])
+ ${ipfilter_program:-/sbin/ipf -y}
+ ;;
+ esac
+ esac
+
# Initialize IP filtering using ipfw
#
if /sbin/ipfw -q flush > /dev/null 2>&1; then
OpenPOWER on IntegriCloud