summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-11 17:02:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-11 17:02:53 +0000
commit6d838c8378006c84402993ab631c1b9947fc41a3 (patch)
tree9f06ecbd4e50caa6d1e3cec506a2ffb68fe6136f /etc
parentd85052a383a203a45d1d3fc20f8ece0fe11b5694 (diff)
downloadpfsense-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.inc5
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'];
OpenPOWER on IntegriCloud