aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-09 14:08:24 +0000
committerErmal <eri@pfsense.org>2012-07-09 14:08:24 +0000
commita59d6dbc05cbe916b85cf08ad3c6560da108683f (patch)
treeb9a5c7f3b222489dd37b96df425db4debcb08867 /config/snort
parent04ffa955eee48669d76a1d021482711454069eff (diff)
downloadpfsense-packages-a59d6dbc05cbe916b85cf08ad3c6560da108683f.tar.gz
pfsense-packages-a59d6dbc05cbe916b85cf08ad3c6560da108683f.tar.bz2
pfsense-packages-a59d6dbc05cbe916b85cf08ad3c6560da108683f.zip
Minor fix when ip is not found on alert file
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort_blocked.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php
index b3fb7aea..c5c0e478 100644
--- a/config/snort/snort_blocked.php
+++ b/config/snort/snort_blocked.php
@@ -297,7 +297,7 @@ if ($pconfig['brefresh'] == 'on')
foreach($blocked_ips_array as $blocked_ip) {
if (is_ipaddr($blocked_ip) && !isset($input[$blocked_ip]))
- $input[] = "N\A\n";
+ $input[$blocked_ip] = "N\A\n";
}
/* buil final list, preg_match, buld html */