* POST /control/dhcp/find_active_dhcp: add dhcpv6 server info

This commit is contained in:
Simon Zolin
2020-08-13 18:45:27 +03:00
parent 23752377b7
commit e7bef3a448
5 changed files with 225 additions and 59 deletions

View File

@@ -500,13 +500,21 @@ Response:
200 OK
{
"other_server": {
"found": "yes|no|error",
"error": "Error message", // set if found=error
},
"static_ip": {
"static": "yes|no|error",
"ip": "<Current dynamic IP address>", // set if static=no
v4: {
"other_server": {
"found": "yes|no|error",
"error": "Error message", // set if found=error
},
"static_ip": {
"static": "yes|no|error",
"ip": "<Current dynamic IP address>", // set if static=no
}
}
v6: {
"other_server": {
"found": "yes|no|error",
"error": "Error message", // set if found=error
},
}
}