/dhcp/set_config API — don't forget to save changed config to YAML
This commit is contained in:
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user