From 006890856dd95ca32e80d85f705df7e6808c91f1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 2 Jul 2007 00:04:15 +0000 Subject: Do not spam logs on filter reload. --- packages/snort/snort_dynamic_ip_reload.php | 2 -- 1 file changed, 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 -- cgit v1.2.3