aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2011-11-14 23:14:20 +0200
committerWarren Baker <warren@decoy.co.za>2011-11-14 23:14:20 +0200
commit9ff3c62d06aa14a68c7b3c882a86b7418c01a0f7 (patch)
treee91663db79ee316da6c487717f18f4c37782eea4 /config
parent8bbb54d84349cbeff2129fea71bfae6cd0245328 (diff)
downloadpfsense-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')
-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")) {