import of dnsmasq-2.3.tar.gz

This commit is contained in:
Simon Kelley committed 2012-01-05 17:31:10 +00:00
1 parent b49644f39f
commit 44a2a3165c
19 files changed
+1687 -920

No files matched your search

+1 -1
View File
@@ -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;