* install: don't show an error about static IP if an interface is not selected
This commit is contained in:
parent
7d3a72e626
commit
67bf027616
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue