]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Wed, 12 Jul 2000 00:04:20 +0000 (00:04 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 12 Jul 2000 00:04:20 +0000 (00:04 +0000)
use ns_g_server->aclenv to match localhost and localnets in the allow{} clause

bin/named/omapiconf.c

index a3ba962069aea6ded3ddb729baf1c2094096418a..8a8978527a0e720751cf5ba315b02dfd2fa1ec59 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: omapiconf.c,v 1.4.2.1 2000/07/12 00:02:09 gson Exp $ */
+/* $Id: omapiconf.c,v 1.4.2.2 2000/07/12 00:04:20 gson Exp $ */
 
 /*
  * Principal Author: DCL
@@ -137,7 +137,7 @@ verify_connection(isc_sockaddr_t *sockaddr, void *arg) {
        listener = arg;
 
        result = dns_acl_match(&netaddr, NULL, listener->acl,
-                              NULL, &match, NULL);
+                              &ns_g_server->aclenv, &match, NULL);
 
        if (result != ISC_R_SUCCESS || match <= 0)
                return (ISC_FALSE);