aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort')
-rwxr-xr-xconfig/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index e6c20a50..c36fc873 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -149,7 +149,7 @@ function snort_build_list($snortcfg, $listname = "", $whitelist = false) {
$snortip = get_interface_ipv6($snortcfg['interface']);
if (is_ipaddrv6($snortip)) {
if ($whitelist === false) {
- $sn = get_interface_subnetv6($int);
+ $sn = get_interface_subnetv6($snortcfg['interface']);
$home_net .= "{$snortip}/{$sn} ";
} else
$home_net .= "{$snortip} ";