diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/suricata/suricata.inc | 2 |
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; |