aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-01 15:20:14 +0000
committerErmal <eri@pfsense.org>2011-09-01 15:20:14 +0000
commitd6200332caa08d2cdf7350a45d9b0bbd56745410 (patch)
tree8854aacb36463cf8413a2bd565f3f675e5909cec /config
parent2df27cf2a748cf517ad127c5c769c26b7d93b13a (diff)
downloadpfsense-packages-d6200332caa08d2cdf7350a45d9b0bbd56745410.tar.gz
pfsense-packages-d6200332caa08d2cdf7350a45d9b0bbd56745410.tar.bz2
pfsense-packages-d6200332caa08d2cdf7350a45d9b0bbd56745410.zip
Correct code
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort_interfaces_global.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_interfaces_global.php b/config/snort/snort_interfaces_global.php
index 37d389da..9a47bb24 100644
--- a/config/snort/snort_interfaces_global.php
+++ b/config/snort/snort_interfaces_global.php
@@ -143,7 +143,7 @@ if ($_POST["Reset"]) {
$x=0;
$is_installed = false;
foreach($config['cron']['item'] as $item) {
- if (strstr($item['command'], "snort2c")) {
+ if (strstr($item['command'], $cronmatch)) {
$is_installed = true;
break;
}