mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-27 12:31:03 +00:00
Log the correct name when we retry a DNSSEC query.
If we retry a DNSSEC query because our client retries on us, and we have an answer but are waiting on a DNSSEC query to validate it, log the name of the DNSSEC query, not the client's query.
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -340,7 +340,9 @@ static int forward_query(int udpfd, union mysockaddr *udpaddr,
|
||||
|
||||
blockdata_retrieve(forward->stash, forward->stash_len, (void *)header);
|
||||
plen = forward->stash_len;
|
||||
|
||||
/* get query for logging. */
|
||||
extract_request(header, plen, daemon->namebuff, NULL);
|
||||
|
||||
if (find_pseudoheader(header, plen, NULL, &pheader, &is_sign, NULL) && !is_sign)
|
||||
PUTSHORT(SAFE_PKTSZ, pheader);
|
||||
|
||||
|
||||
Reference in new issue
Block a user