aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-08 23:29:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-08 23:29:30 +0000
commitd34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6 (patch)
treeeb6c713e610a9df7284dd52da0eb50c1c465d7ff /packages/snort
parentaa1bcc027d9173552297dcd4b72b2647f501e4d2 (diff)
downloadpfsense-packages-d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6.tar.gz
pfsense-packages-d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6.tar.bz2
pfsense-packages-d34c08fbf0b1cc60e9d8c192dc998e3e5103b5f6.zip
Reload snort2c on IP change but do it with a HUP.
Diffstat (limited to 'packages/snort')
-rw-r--r--packages/snort/snort_dynamic_ip_reload.php1
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");
}