From c81902f92799a1f566667f8fae07ecb92069372f Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 11 Feb 2013 09:47:43 +0100 Subject: Correct generation of list for ipv6 --- config/snort/snort.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/snort') 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} "; } } -- cgit v1.2.3