mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 02:08:24 +00:00
cfa1313e1ff0bb4c25e18a16ec132458dad11fa1
Signed-off-by: Rob Gill <rrobgill@protonmail.com> At the moment if a misformatted query is reported by the upstream server it is not clear from the log. Other error codes from RFC1035 (server failure, not implemented, refused) are logged with text, but format error is logged merely as "1". Such that an upstream reporting a format error is presently logged as eg: Apr 20 12:01:55 dnsmasq[3023]: reply error is 1 After this patch they are logged informatively, eg: Apr 20 12:48:40 dnsmasq[3023]: reply error is FORMERR This is a two line fix, FORMERR is already defined in dns-protocol.h.
Description
No description provided
Languages
C
94.2%
Perl
2.3%
HTML
1.2%
Shell
1.1%
Makefile
0.6%
Other
0.6%