mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-05-10 13:16:07 +00:00
ZoneTree: fixed wildcard matching bug in FindZoneNode().
This commit is contained in:
@@ -320,7 +320,7 @@ namespace DnsServerCore.Dns.Trees
|
||||
}
|
||||
}
|
||||
}
|
||||
else if ((wildcardNode is not null) && (currentNode.K == 0) && currentNode.HasChildren)
|
||||
else if ((wildcardNode is not null) && (currentNode.K == 0) && currentNode.HasChildren && (currentNode != wildcardNode.Parent))
|
||||
{
|
||||
//ENT node with children so wildcard is not valid
|
||||
wildcardNode = null;
|
||||
|
||||
Reference in New Issue
Block a user