aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */