aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-06 11:13:39 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-06 11:13:39 -0300
commit0530c8f03fe17651323297ebaf3b085949b6de50 (patch)
treeebb2be77f5a7fdad26a4f08c4504985c7d60c568 /config/suricata/suricata.inc
parent81ff18ddc45fff6018e7e052c865aaa4f85cfe14 (diff)
downloadpfsense-packages-0530c8f03fe17651323297ebaf3b085949b6de50.tar.gz
pfsense-packages-0530c8f03fe17651323297ebaf3b085949b6de50.tar.bz2
pfsense-packages-0530c8f03fe17651323297ebaf3b085949b6de50.zip
Fix typo on function name
Diffstat (limited to 'config/suricata/suricata.inc')
-rw-r--r--config/suricata/suricata.inc2
1 files changed, 1 insertions, 1 deletions
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;