diff options
Diffstat (limited to 'packages/snort/snort_dynamic_ip_reload.php')
-rw-r--r-- | packages/snort/snort_dynamic_ip_reload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php index 9de36604..af8a5673 100644 --- a/packages/snort/snort_dynamic_ip_reload.php +++ b/packages/snort/snort_dynamic_ip_reload.php @@ -41,7 +41,7 @@ if($config['interfaces']['wan']['ipaddr'] == "pppoe" or create_snort_conf(); mwexec("/sbin/pfctl -t snort2c -T flush"); exec("killall -HUP snort"); - exec("killall -HUP snort2c"); + exec("/usr/bin/killall snort2c; snort2c -w /var/db/whitelist -a /var/log/snort/alert"); } |