From eae2a15326c3cdd5ee0cb7b71736785349fa8bc0 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 11 Jul 2000 23:02:32 +0000 Subject: [PATCH] use ns_g_server->aclenv to match localhost and localnets in the allow{} clause --- bin/named/omapiconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/named/omapiconf.c b/bin/named/omapiconf.c index ebb31fcf85..051f499e15 100644 --- a/bin/named/omapiconf.c +++ b/bin/named/omapiconf.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: omapiconf.c,v 1.5 2000/07/11 22:03:09 tale Exp $ */ +/* $Id: omapiconf.c,v 1.6 2000/07/11 23:02:32 tale 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);