+ dhcpv6 server; rewrite dhcpv4 server; changed API
This commit is contained in:
@@ -56,6 +56,7 @@ func handleStatus(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
"protection_enabled": c.ProtectionEnabled,
|
||||
}
|
||||
data["dhcp_available"] = (Context.dhcpServer != nil)
|
||||
|
||||
jsonVal, err := json.Marshal(data)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user