* install: don't show an error about static IP if an interface is not selected

This commit is contained in:
Simon Zolin 2020-09-02 15:50:09 +03:00
parent 7d3a72e626
commit 67bf027616
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func (web *Web) handleInstallCheckConfig(w http.ResponseWriter, r *http.Request)
if err != nil {
respData.DNS.Status = fmt.Sprintf("%v", err)
} else {
} else if reqData.DNS.IP != "0.0.0.0" {
respData.StaticIP = handleStaticIP(reqData.DNS.IP, reqData.SetStaticIP)
}
}