aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound
diff options
context:
space:
mode:
Diffstat (limited to 'config/unbound')
-rw-r--r--config/unbound/unbound_acls.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound_acls.php b/config/unbound/unbound_acls.php
index ff3ce3bd..7e4e5a71 100644
--- a/config/unbound/unbound_acls.php
+++ b/config/unbound/unbound_acls.php
@@ -83,7 +83,7 @@ if ($_POST) {
if (!is_ipaddr($networkacl[$x]['acl_network']))
$input_errors[] = gettext("You must enter a valid network IP address for {$networkacl[$x]['acl_network']}.");
- if (is_ipaddrv4($networkacl[$x]['acl_network'])) {
+ if (is_ipaddr($networkacl[$x]['acl_network'])) {
if (!is_subnet($networkacl[$x]['acl_network']."/".$networkacl[$x]['mask']))
$input_errors[] = gettext("You must enter a valid IPv4 netmask for {$networkacl[$x]['acl_network']}/{$networkacl[$x]['mask']}.");
} else if (function_exists("is_ipaddrv6")) {