mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Verbose
This commit is contained in:
parent
6117a1111c
commit
4caa7b6d64
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func parseODoHTargetConfig(config []byte) (ODoHTargetConfig, error) {
|
|||
|
||||
func parseODoHTargetConfigs(configs []byte) ([]ODoHTargetConfig, error) {
|
||||
if len(configs) <= 2 {
|
||||
return nil, fmt.Errorf("No configs")
|
||||
return nil, fmt.Errorf("Server didn't return any ODoH configurations")
|
||||
}
|
||||
length := binary.BigEndian.Uint16(configs)
|
||||
if len(configs) != int(length)+2 {
|
||||
|
|
Loading…
Add table
Reference in a new issue