-: fix #1632
This commit is contained in:
parent
39420c8a00
commit
fb79416ebe
|
@ -343,8 +343,8 @@ func checkDNS(input string, bootstrap []string) error {
|
|||
return fmt.Errorf("wrong upstream format: %s", err)
|
||||
}
|
||||
|
||||
// No need to check this entrance
|
||||
if input == "#" && !defaultUpstream {
|
||||
// No need to check this DNS server
|
||||
if input == "#" || !defaultUpstream {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue