/dhcp/set_config API — don't forget to save changed config to YAML
This commit is contained in:
parent
4aea91a70c
commit
6fd9af3c60
1
dhcp.go
1
dhcp.go
|
@ -43,6 +43,7 @@ func handleDHCPSetConfig(w http.ResponseWriter, r *http.Request) {
|
||||||
dhcpServer.Stop()
|
dhcpServer.Stop()
|
||||||
}
|
}
|
||||||
config.DHCP = newconfig
|
config.DHCP = newconfig
|
||||||
|
httpUpdateConfigReloadDNSReturnOK(w, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
func handleDHCPInterfaces(w http.ResponseWriter, r *http.Request) {
|
func handleDHCPInterfaces(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
Loading…
Reference in New Issue