This commit is contained in:
Andrey Meshkov 2020-05-14 18:24:59 +03:00
parent 39420c8a00
commit fb79416ebe

View file

@ -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
} }