- Fix cname classification with qname minimisation enabled.

git-svn-id: file:///svn/unbound/trunk@4648 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2018-04-23 13:14:39 +00:00
parent deea985a20
commit 2be0263dfa
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@
- Fix sldns parse failure for CDS alternate delete syntax empty hex. - Fix sldns parse failure for CDS alternate delete syntax empty hex.
- Attempt for auth zone fix; add of callback in mesh gets from - Attempt for auth zone fix; add of callback in mesh gets from
callback does not skip callback of result. callback does not skip callback of result.
- Fix cname classification with qname minimisation enabled.
20 April 2018: Wouter 20 April 2018: Wouter
- man page documentation for dns-over-tls forward-addr '#' notation. - man page documentation for dns-over-tls forward-addr '#' notation.

View file

@ -2457,7 +2457,7 @@ processQueryResponse(struct module_qstate* qstate, struct iter_qstate* iq,
} }
type = response_type_from_server( type = response_type_from_server(
(int)((iq->chase_flags&BIT_RD) || iq->chase_to_rd), (int)((iq->chase_flags&BIT_RD) || iq->chase_to_rd),
iq->response, &iq->qchase, iq->dp); iq->response, &iq->qinfo_out, iq->dp);
iq->chase_to_rd = 0; iq->chase_to_rd = 0;
if(type == RESPONSE_TYPE_REFERRAL && (iq->chase_flags&BIT_RD) && if(type == RESPONSE_TYPE_REFERRAL && (iq->chase_flags&BIT_RD) &&
!iq->auth_zone_response) { !iq->auth_zone_response) {