From: Andreas Gustafsson Date: Wed, 12 Jul 2000 00:04:20 +0000 (+0000) Subject: pullup: X-Git-Tag: v9.0.0rc1~22 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=519d3bc0bb00213fc3970a5307ebe1f919fe73b0;p=thirdparty%2Fbind9.git pullup: use ns_g_server->aclenv to match localhost and localnets in the allow{} clause --- diff --git a/bin/named/omapiconf.c b/bin/named/omapiconf.c index a3ba962069a..8a8978527a0 100644 --- a/bin/named/omapiconf.c +++ b/bin/named/omapiconf.c @@ -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);