Commit 0990b761 authored by Mark Andrews's avatar Mark Andrews
Browse files

only set nodo if we have requested do

parent 26f93d65
......@@ -1563,7 +1563,8 @@ process(struct workitem *item, unsigned char *buf, int n) {
addtag(item, "soa"), ok = 0;
if (seenecho)
addtag(item, "echoed"), ok = 0;
if ((ednsttl & 0x8000) != 0 && seenrrsig)
if (seenrrsig &&
(opts[item->test].flags & 0x8000) != 0 && (ednsttl & 0x8000) == 0)
addtag(item, "nodo"), ok = 0;
if (!aa && opts[item->test].version == 0 &&
rcode == ns_r_noerror && opts[item->test].opcode == 0)
......
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