diff options
author | Ermal <eri@pfsense.org> | 2013-02-11 09:47:43 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-02-11 09:47:43 +0100 |
commit | c81902f92799a1f566667f8fae07ecb92069372f (patch) | |
tree | c18dee0dbe02ef7656c1f18f282510f380d1c131 /config/snort/snort.inc | |
parent | a67b748e2428950343488085c4a60021d83a43d5 (diff) | |
download | pfsense-packages-c81902f92799a1f566667f8fae07ecb92069372f.tar.gz pfsense-packages-c81902f92799a1f566667f8fae07ecb92069372f.tar.bz2 pfsense-packages-c81902f92799a1f566667f8fae07ecb92069372f.zip |
Correct generation of list for ipv6
Diffstat (limited to 'config/snort/snort.inc')
-rwxr-xr-x | config/snort/snort.inc | 6 |
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} "; } } |