From 0530c8f03fe17651323297ebaf3b085949b6de50 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Sat, 6 Sep 2014 11:13:39 -0300 Subject: Fix typo on function name --- config/suricata/suricata.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/suricata/suricata.inc b/config/suricata/suricata.inc index ca4ade1c..af0b0da2 100644 --- a/config/suricata/suricata.inc +++ b/config/suricata/suricata.inc @@ -443,7 +443,7 @@ function suricata_build_list($suricatacfg, $listname = "", $passlist = false, $e foreach ($dns_servers as $dns) { if (is_ipaddrv4($dns)) $dns .= "/32"; - elseif (is_addrv6($dns)) + elseif (is_ipaddrv6($dns)) $dns .= "/128"; if ($dns && !in_array($dns, $home_net)) $home_net[] = $dns; -- cgit v1.2.3