diff options
author | Ermal <eri@pfsense.org> | 2013-02-12 16:39:14 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-02-12 16:39:14 +0100 |
commit | f2b50053c390c7b018eef0dfe0e9c8b770e6349c (patch) | |
tree | df18918f2bb2b264069f944c833ff082543b7d4f /config/snort/snort.inc | |
parent | 849ae9e3bd2877bfb784b88b10d41dc772127f2a (diff) | |
download | pfsense-packages-f2b50053c390c7b018eef0dfe0e9c8b770e6349c.tar.gz pfsense-packages-f2b50053c390c7b018eef0dfe0e9c8b770e6349c.tar.bz2 pfsense-packages-f2b50053c390c7b018eef0dfe0e9c8b770e6349c.zip |
Use correct interface
Diffstat (limited to 'config/snort/snort.inc')
-rwxr-xr-x | config/snort/snort.inc | 2 |
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} "; |