comment for explanation of bit toggle.

git-svn-id: file:///svn/unbound/trunk@2638 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2012-03-01 13:38:28 +00:00
parent 1736d8078a
commit 82ebbe32d1

View File

@ -257,6 +257,9 @@ read_stubs(struct iter_hints* hints, struct config_file* cfg)
!read_stubs_host(s, dp) ||
!read_stubs_addr(s, dp))
return 0;
/* the flag is turned off for 'stub-first' so that the
* last resort will ask for parent-side NS record and thus
* fallback to the internet name servers on a failure */
dp->has_parent_side_NS = !s->isfirst;
if(!hints_insert(hints, LDNS_RR_CLASS_IN, dp, !s->isprime))
return 0;