mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-12-04 22:08:27 +00:00
import of dnsmasq-2.3.tar.gz
This commit is contained in:
1 parent
b49644f39f
commit
44a2a3165c
19 files changed
+1687
-920
No files matched your search
+1
-1
@@ -620,7 +620,7 @@ int setup_reply(HEADER *header, unsigned int qlen,
|
||||
header->ancount = htons(0); /* no answers unless changed below*/
|
||||
if (flags == F_NEG)
|
||||
header->rcode = SERVFAIL; /* couldn't get memory */
|
||||
else if (flags == F_NOERR)
|
||||
else if (flags == F_NOERR || flags == F_QUERY)
|
||||
header->rcode = NOERROR; /* empty domain */
|
||||
else if (flags == F_NXDOMAIN)
|
||||
header->rcode = NXDOMAIN;
|
||||
|
||||
Reference in new issue
Block a user