projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle NXDOMAIN DNS errors.
[ircu2.10.12-pk.git]
/
ircd
/
ircd_res.c
diff --git
a/ircd/ircd_res.c
b/ircd/ircd_res.c
index 52d6865e103b424e093d7e98b85a8e5adfcf1307..02ca4e47ddd6ccfc7134aae1e55431295badbbc5 100644
(file)
--- a/
ircd/ircd_res.c
+++ b/
ircd/ircd_res.c
@@
-784,7
+784,7
@@
res_readreply(struct Event *ev)
if ((header->rcode != NO_ERRORS) || (header->ancount == 0))
{
- if (SERVFAIL == header->rcode)
+ if (SERVFAIL == header->rcode
|| NXDOMAIN == header->rcode
)
{
/*
* If a bad error was returned, we stop here and don't send