diff options
-rw-r--r-- | config/snort-dev/snort.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc index fa086e84..b9dc590c 100644 --- a/config/snort-dev/snort.inc +++ b/config/snort-dev/snort.inc @@ -1452,8 +1452,8 @@ else if($vip['subnet']) $home_net .= $vip['subnet'] . " "; - if($config['installedpackages']['snortglobal']['whitelist']) - foreach($config['installedpackages']['snortglobal']['whitelist'] as $snort) + if($config['installedpackages']['snortglobal']['config']) + foreach($config['installedpackages']['snortglobal']['config'] as $snort) if($snort['ip']) $home_net .= $snort['ip'] . " "; |