aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-02-12 16:39:14 +0100
committerErmal <eri@pfsense.org>2013-02-12 16:39:14 +0100
commitf2b50053c390c7b018eef0dfe0e9c8b770e6349c (patch)
treedf18918f2bb2b264069f944c833ff082543b7d4f /config/snort
parent849ae9e3bd2877bfb784b88b10d41dc772127f2a (diff)
downloadpfsense-packages-f2b50053c390c7b018eef0dfe0e9c8b770e6349c.tar.gz
pfsense-packages-f2b50053c390c7b018eef0dfe0e9c8b770e6349c.tar.bz2
pfsense-packages-f2b50053c390c7b018eef0dfe0e9c8b770e6349c.zip
Use correct interface
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} ";