diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-11 17:02:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-11 17:02:53 +0000 |
commit | 6d838c8378006c84402993ab631c1b9947fc41a3 (patch) | |
tree | 9f06ecbd4e50caa6d1e3cec506a2ffb68fe6136f /etc | |
parent | d85052a383a203a45d1d3fc20f8ece0fe11b5694 (diff) | |
download | pfsense-6d838c8378006c84402993ab631c1b9947fc41a3.zip pfsense-6d838c8378006c84402993ab631c1b9947fc41a3.tar.gz |
Hide "ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging disabled" while enabling time based rules
Noticed-by: Ryan Wagoner
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 0909cd5..dabe140 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -95,8 +95,11 @@ function filter_configure_sync() { } if($time_based_rules == true) { $status = intval(`kldstat | grep ipfw | wc -l | awk '{ print $1 }'`); - if($status == "0") + if($status == "0") { + mute_kernel_msgs(); mwexec("/sbin/kldload ipfw"); + unmute_kernel_msgs(); + } } $lan_if = $config['interfaces']['lan']['if']; |