From f2b50053c390c7b018eef0dfe0e9c8b770e6349c Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 12 Feb 2013 16:39:14 +0100 Subject: Use correct interface --- config/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} "; -- cgit v1.2.3