From: Mark Andrews Date: Wed, 4 Jul 2018 00:12:38 +0000 (+1000) Subject: use extracted netaddr rather than client->destaddr X-Git-Tag: v9.13.3~118^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69fd3f5ba4bb6d3b4adb13d1f21f562c0b3908f2;p=thirdparty%2Fbind9.git use extracted netaddr rather than client->destaddr --- diff --git a/lib/ns/query.c b/lib/ns/query.c index 4faeb37d004..e86608ff740 100644 --- a/lib/ns/query.c +++ b/lib/ns/query.c @@ -10815,7 +10815,7 @@ log_tat(ns_client_t *client) { isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr); dns_name_format(client->query.qname, namebuf, sizeof(namebuf)); - isc_netaddr_format(&client->destaddr, clientbuf, sizeof(clientbuf)); + isc_netaddr_format(&netaddr, clientbuf, sizeof(clientbuf)); dns_rdataclass_format(client->view->rdclass, classname, sizeof(classname));