mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-18 04:51:45 +03:00
home/config: improve error message
This commit is contained in:
parent
1320043e95
commit
4530b83c2d
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ func validateBindHosts(conf *configuration) (err error) {
|
||||||
|
|
||||||
for i, addr := range conf.DNS.BindHosts {
|
for i, addr := range conf.DNS.BindHosts {
|
||||||
if !addr.IsValid() {
|
if !addr.IsValid() {
|
||||||
return fmt.Errorf("dns.bind_hosts at index %d is not a valid ip address", i)
|
return fmt.Errorf("dns.bind_hosts at index %d with value '%s' is not a valid ip address. try quoting the value", i, addr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue