projects
/
dnsmasq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
046bfa2
)
Tweak to logging.
author
Simon Kelley
<simon@thekelleys.org.uk>
Mon, 3 Feb 2025 15:26:55 +0000
(15:26 +0000)
committer
Simon Kelley
<simon@thekelleys.org.uk>
Mon, 3 Feb 2025 15:26:55 +0000
(15:26 +0000)
When a cached answer is too big, log
cached reply is truncated
and not
config reply is truncated
src/rfc1035.c
patch
|
blob
|
history
diff --git
a/src/rfc1035.c
b/src/rfc1035.c
index
adf906c
..
e92c00b
100644
(file)
--- a/
src/rfc1035.c
+++ b/
src/rfc1035.c
@@
-2364,7
+2364,7
@@
size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
if (!(ansp = skip_questions(header, qlen)))
return 0; /* bad packet */
anscount = nscount = addncount = 0;
- log_query(
F_CONFIG
, "reply", NULL, "truncated", 0);
+ log_query(
0
, "reply", NULL, "truncated", 0);
}
if (nxdomain)