2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-02 15:45:25 +00:00

update copyright notice / whitespace

This commit is contained in:
Tinderbox User
2016-07-11 23:46:33 +00:00
parent 909d442cc0
commit 3e0b34d0ac
2 changed files with 4 additions and 4 deletions

View File

@@ -3014,15 +3014,15 @@ create_mapped_acl(void) {
isc_netaddr_t addr = { isc_netaddr_t addr = {
.family = AF_INET6, .family = AF_INET6,
.type.in6 = IN6ADDR_V4MAPPED_INIT, .type.in6 = IN6ADDR_V4MAPPED_INIT,
.zone = 0 .zone = 0
}; };
result = dns_acl_create(ns_g_mctx, 1, &acl); result = dns_acl_create(ns_g_mctx, 1, &acl);
if (result != ISC_R_SUCCESS) if (result != ISC_R_SUCCESS)
return (result); return (result);
result = dns_iptable_addprefix2(acl->iptable, &addr, 96, result = dns_iptable_addprefix2(acl->iptable, &addr, 96,
ISC_TRUE, ISC_FALSE); ISC_TRUE, ISC_FALSE);
if (result == ISC_R_SUCCESS) if (result == ISC_R_SUCCESS)
dns_acl_attach(acl, &ns_g_mapped); dns_acl_attach(acl, &ns_g_mapped);
dns_acl_detach(&acl); dns_acl_detach(&acl);

View File

@@ -8619,7 +8619,7 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
inc_stats(fctx->res, dns_resstatscounter_nextitem); inc_stats(fctx->res, dns_resstatscounter_nextitem);
INSIST(query->dispentry != NULL); INSIST(query->dispentry != NULL);
result = dns_dispatch_getnext(query->dispentry, &devent); result = dns_dispatch_getnext(query->dispentry, &devent);
if (result != ISC_R_SUCCESS) if (result != ISC_R_SUCCESS)
fctx_done(fctx, result, __LINE__); fctx_done(fctx, result, __LINE__);
} else if (result == ISC_R_SUCCESS && !HAVE_ANSWER(fctx)) { } else if (result == ISC_R_SUCCESS && !HAVE_ANSWER(fctx)) {
/* /*