Commit b53dee6d authored by Tony Finch's avatar Tony Finch Committed by Evan Hunt
Browse files

dnstap: log actual local IPv6 address, not :: listening address

(cherry picked from commit ccff953c)
parent 920eb326
......@@ -1205,7 +1205,7 @@ client_send(ns_client_t *client) {
#ifdef HAVE_DNSTAP
if (client->view != NULL) {
dns_dt_send(client->view, dtmsgtype,
&client->peeraddr, &client->interface->addr,
&client->peeraddr, &client->destsockaddr,
ISC_TRUE, &zr, &client->requesttime, NULL,
&buffer);
}
......@@ -1235,7 +1235,7 @@ client_send(ns_client_t *client) {
if (client->view != NULL) {
dns_dt_send(client->view, dtmsgtype,
&client->peeraddr,
&client->interface->addr,
&client->destsockaddr,
ISC_FALSE, &zr,
&client->requesttime, NULL, &buffer);
}
......@@ -2828,7 +2828,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
dtmsgtype = DNS_DTTYPE_AQ;
dns_dt_send(view, dtmsgtype, &client->peeraddr,
&client->interface->addr, TCP_CLIENT(client), NULL,
&client->destsockaddr, TCP_CLIENT(client), NULL,
&client->requesttime, NULL, buffer);
#endif /* HAVE_DNSTAP */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment