2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

use extracted netaddr rather than client->destaddr

This commit is contained in:
Mark Andrews
2018-07-04 10:12:38 +10:00
committed by Evan Hunt
parent f83a64072b
commit 69fd3f5ba4

View File

@@ -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));