From 9ff3c62d06aa14a68c7b3c882a86b7418c01a0f7 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Mon, 14 Nov 2011 23:14:20 +0200 Subject: Fix for 2.0 as no is_ipaddrv4 exists there --- config/unbound/unbound_acls.php | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 3 files changed, 3 insertions(+), 3 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")) { diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 03d675d5..1ec6820f 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1166,7 +1166,7 @@ Unbound is a validating, recursive, and caching DNS resolver. This package is a drop in replacement for Services: DNS Forwarder and also supports DNSSEC extensions. Once installed please configure the Unbound service by visiting Services: Unbound DNS. http://www.unbound.net/ Services - 1.4.13_04 + 1.4.13_05 Alpha warren@decoy.co.za 2.0 diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 053d7dd2..2e45d0ae 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1116,7 +1116,7 @@ Unbound is a validating, recursive, and caching DNS resolver. This package is a drop in replacement for Services: DNS Forwarder and also supports DNSSEC extensions. Once installed please configure the Unbound service by visiting Services: Unbound DNS. http://www.unbound.net/ Services - 1.4.13_04 + 1.4.13_05 Alpha warren@decoy.co.za 2.0 -- cgit v1.2.3