diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/snort/snort.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 76520372..037cc372 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -198,7 +198,9 @@ function snort_build_list($listname = "") { foreach ($validator as $vald) { if (empty($vald)) continue; - $valresult[] = trim($vald); + $vald = trim($vald); + if (empty($valresult[$vald])) + $valresult[$vald] = $vald; } return $valresult; |