- Fix classification of NS set in answer section, where there is a

parent-child server, and the answer has the AA flag for dir.slb.com.
  Thanks to Amanda Constant from Secure64.


git-svn-id: file:///svn/unbound/trunk@2501 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2011-09-20 07:42:04 +00:00
parent d9ceec4005
commit 881f0ad30f
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
20 September 2011: Wouter
- Fix classification of NS set in answer section, where there is a
parent-child server, and the answer has the AA flag for dir.slb.com.
Thanks to Amanda Constant from Secure64.
16 September 2011: Wouter 16 September 2011: Wouter
- fix bug #408: accept patch from Steve Snyder that comments out - fix bug #408: accept patch from Steve Snyder that comments out
unused functions in lookup3.c. unused functions in lookup3.c.

View file

@ -163,6 +163,8 @@ response_type_from_server(int rdset,
ntohs(s->rk.rrset_class) == request->qclass && ntohs(s->rk.rrset_class) == request->qclass &&
dname_strict_subdomain_c(s->rk.dname, dname_strict_subdomain_c(s->rk.dname,
origzone)) { origzone)) {
if((msg->rep->flags&BIT_AA))
return RESPONSE_TYPE_ANSWER;
return RESPONSE_TYPE_REFERRAL; return RESPONSE_TYPE_REFERRAL;
} }