mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 21:57:44 +03:00
Reverse
This commit is contained in:
parent
cba755b4d1
commit
eedabcbd4a
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ func (plugin *PluginBlockUndelegated) Eval(pluginsState *PluginsState, msg *dns.
|
|||
if len(questions) != 1 {
|
||||
return nil
|
||||
}
|
||||
revQname := StringReverse(strings.ToLower(questions[0].Name))
|
||||
revQname := strings.ToLower(StringReverse(questions[0].Name))
|
||||
match, _, found := plugin.suffixes.LongestPrefix([]byte(revQname))
|
||||
if !found {
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue