mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 06:55:48 +03:00
-: fix #1632
This commit is contained in:
parent
39420c8a00
commit
fb79416ebe
1 changed files with 2 additions and 2 deletions
|
@ -343,8 +343,8 @@ func checkDNS(input string, bootstrap []string) error {
|
||||||
return fmt.Errorf("wrong upstream format: %s", err)
|
return fmt.Errorf("wrong upstream format: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// No need to check this entrance
|
// No need to check this DNS server
|
||||||
if input == "#" && !defaultUpstream {
|
if input == "#" || !defaultUpstream {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue