mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
Gilles reported the full-json is currently broken, which the new check demonstrates. Luckily the issue occurs only when active leases details are being queried, leaving the count to be correct. That said bug is a bug, and that should be corrected. Reported-by: Gilles Bouthenot <gilles.bouthenot@univ-fcomte.fr> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
16 lines
369 B
Text
16 lines
369 B
Text
{
|
|
"active_leases": [
|
|
{ "ip":"10.0.0.5", "macaddress":"00:00:00:00:00:00" }
|
|
],
|
|
"subnets": [
|
|
{ "location":"All networks", "range":"10.0.0.1 - 10.0.0.10", "defined":10, "used":1, "free":9 }
|
|
],
|
|
"shared-networks": [
|
|
],
|
|
"summary": {
|
|
"location":"All networks",
|
|
"defined":10,
|
|
"used":1,
|
|
"free":9
|
|
}
|
|
}
|