diff options
author | Warren Baker <warren@decoy.co.za> | 2011-11-14 23:14:20 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2011-11-14 23:14:20 +0200 |
commit | 9ff3c62d06aa14a68c7b3c882a86b7418c01a0f7 (patch) | |
tree | e91663db79ee316da6c487717f18f4c37782eea4 /config/unbound | |
parent | 8bbb54d84349cbeff2129fea71bfae6cd0245328 (diff) | |
download | pfsense-packages-9ff3c62d06aa14a68c7b3c882a86b7418c01a0f7.tar.gz pfsense-packages-9ff3c62d06aa14a68c7b3c882a86b7418c01a0f7.tar.bz2 pfsense-packages-9ff3c62d06aa14a68c7b3c882a86b7418c01a0f7.zip |
Fix for 2.0 as no is_ipaddrv4 exists there
Diffstat (limited to 'config/unbound')
-rw-r--r-- | config/unbound/unbound_acls.php | 2 |
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")) { |