mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-10 20:07:43 +02:00
more test DLV.
git-svn-id: file:///svn/unbound/trunk@1203 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -677,8 +677,11 @@ find_match(struct entry* entries, ldns_pkt* query_pkt,
|
||||
}
|
||||
if(p->match_subdomain) {
|
||||
if(!get_owner(query_pkt) || !get_owner(reply) ||
|
||||
(ldns_dname_compare(get_owner(query_pkt),
|
||||
get_owner(reply)) != 0 &&
|
||||
!ldns_dname_is_subdomain(
|
||||
get_owner(query_pkt), get_owner(reply)) != 0) {
|
||||
get_owner(query_pkt), get_owner(reply))))
|
||||
{
|
||||
verbose(3, "bad subdomain\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user