diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-08 23:29:30 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-08 23:29:30 +0000 |
commit | d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6 (patch) | |
tree | eb6c713e610a9df7284dd52da0eb50c1c465d7ff | |
parent | aa1bcc027d9173552297dcd4b72b2647f501e4d2 (diff) | |
download | pfsense-packages-d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6.tar.gz pfsense-packages-d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6.tar.bz2 pfsense-packages-d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6.zip |
Reload snort2c on IP change but do it with a HUP.
-rw-r--r-- | packages/snort/snort_dynamic_ip_reload.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/snort/snort_dynamic_ip_reload.php b/packages/snort/snort_dynamic_ip_reload.php index ff392c76..9de36604 100644 --- a/packages/snort/snort_dynamic_ip_reload.php +++ b/packages/snort/snort_dynamic_ip_reload.php @@ -41,6 +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"); } |