aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-02-11 09:47:43 +0100
committerErmal <eri@pfsense.org>2013-02-11 09:47:43 +0100
commitc81902f92799a1f566667f8fae07ecb92069372f (patch)
treec18dee0dbe02ef7656c1f18f282510f380d1c131 /config/snort
parenta67b748e2428950343488085c4a60021d83a43d5 (diff)
downloadpfsense-packages-c81902f92799a1f566667f8fae07ecb92069372f.tar.gz
pfsense-packages-c81902f92799a1f566667f8fae07ecb92069372f.tar.bz2
pfsense-packages-c81902f92799a1f566667f8fae07ecb92069372f.zip
Correct generation of list for ipv6
Diffstat (limited to 'config/snort')
-rwxr-xr-xconfig/snort/snort.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 884c50ec..e6c20a50 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -149,10 +149,10 @@ function snort_build_list($snortcfg, $listname = "", $whitelist = false) {
$snortip = get_interface_ipv6($snortcfg['interface']);
if (is_ipaddrv6($snortip)) {
if ($whitelist === false) {
- $sn = get_interface_subnet($int);
- $home_net .= "{$subnet}/{$sn} ";
+ $sn = get_interface_subnetv6($int);
+ $home_net .= "{$snortip}/{$sn} ";
} else
- $home_net .= "{$subnet} ";
+ $home_net .= "{$snortip} ";
}
}