Commit 400c304d authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Don't rehash the host

parent 7e25d600
......@@ -181,7 +181,7 @@ class DnsRuleResolver(context: Context) : LocalResolver(false) {
}
}
if (wildcardResolveResult != null) {
cachedWildcardResolved[hashHost(uniformQuestion, question.type)] = wildcardResolveResult
cachedWildcardResolved[hostHash] = wildcardResolveResult
resolveResults[question.hashCode()] = wildcardResolveResult
true
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment