mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
Correctly check for HTTPS type
This commit is contained in:
parent
b7dfdb1372
commit
1239e64cd9
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ func (plugin *PluginBlockNameResponse) Eval(pluginsState *PluginsState, msg *dns
|
|||
target = answer.(*dns.CNAME).Target
|
||||
} else if header.Rrtype == dns.TypeSVCB && answer.(*dns.SVCB).Priority == 0 {
|
||||
target = answer.(*dns.SVCB).Target
|
||||
} else if header.Rrtype == dns.TypeSVCB && answer.(*dns.HTTPS).Priority == 0 {
|
||||
} else if header.Rrtype == dns.TypeHTTPS && answer.(*dns.HTTPS).Priority == 0 {
|
||||
target = answer.(*dns.HTTPS).Target
|
||||
} else {
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue