Commit 26f93d65 authored by Mark Andrews's avatar Mark Andrews

ipv4only was not working; skip to next server error rcode

parent ac88056c
......@@ -860,6 +860,7 @@ dotest(struct workitem *item) {
if (tries == 0xffff) {
addtag(item, "skipped");
item->summary->allok = 0;
item->summary->seenfailure = 1;
freeitem(item);
return;
}
......@@ -1175,7 +1176,7 @@ lookupaaaa(char *zone, char *ns, struct summary *parent) {
struct workitem *item;
unsigned int i;
if (ipv6only)
if (ipv4only)
return (NULL);
summary = calloc(1, sizeof(*summary));
......@@ -1514,8 +1515,12 @@ process(struct workitem *item, unsigned char *buf, int n) {
seennsid, seenecs, seenexpire, seencookie);
}
if (item->summary->type)
goto done;
if (item->summary->type) {
if (rcode == ns_r_noerror || rcode == ns_r_nxdomain)
goto done;
nextserver(item);
return;
}
if (seenopt)
item->summary->seenopt = 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment