diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-07-02 00:04:15 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-07-02 00:04:15 +0000 |
commit | 006890856dd95ca32e80d85f705df7e6808c91f1 (patch) | |
tree | 88ce1ed3c10d50f7e810f1bb612189fa675fb96e /packages/snort/snort_dynamic_ip_reload.php | |
parent | 831f82582d23e729ea5d8e5fb9c657e769914c94 (diff) | |
download | pfsense-packages-006890856dd95ca32e80d85f705df7e6808c91f1.tar.gz pfsense-packages-006890856dd95ca32e80d85f705df7e6808c91f1.tar.bz2 pfsense-packages-006890856dd95ca32e80d85f705df7e6808c91f1.zip |
Do not spam logs on filter reload.
Diffstat (limited to 'packages/snort/snort_dynamic_ip_reload.php')
-rw-r--r-- | packages/snort/snort_dynamic_ip_reload.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php index af8a5673..dbd6d015 100644 --- a/packages/snort/snort_dynamic_ip_reload.php +++ b/packages/snort/snort_dynamic_ip_reload.php @@ -37,12 +37,10 @@ require_once("config.inc"); if($config['interfaces']['wan']['ipaddr'] == "pppoe" or $config['interfaces']['wan']['ipaddr'] == "dhcp") { - log_error("Dynamic WAN interface present. Restarting snort due to filter changes."); create_snort_conf(); mwexec("/sbin/pfctl -t snort2c -T flush"); exec("killall -HUP snort"); exec("/usr/bin/killall snort2c; snort2c -w /var/db/whitelist -a /var/log/snort/alert"); } - ?>
\ No newline at end of file |