]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Corrected subnets/subnet4 argument in subnet4-add.
authorAlan Clegg <aclegg@isc.org>
Thu, 24 Jan 2019 16:29:00 +0000 (11:29 -0500)
committerAlan Clegg <aclegg@isc.org>
Thu, 24 Jan 2019 16:29:00 +0000 (11:29 -0500)
Thanks to Daniel Ambauen for catching this.

doc/guide/hooks.xml

index c7cdb6d23d4791104a86e3bbe59bfe8a77c4e414..fb36d462afa6be6dd68ff414b3e821e420424c50 100644 (file)
@@ -2021,7 +2021,7 @@ If the subnet exists the response will be similar to this:
 {
     "command": "subnet4-add",
     "arguments": {
-        "subnets": [ {
+        "subnet4": [ {
             "id": 123,
             "subnet": "10.20.30.0/24",
             ...
@@ -2038,7 +2038,7 @@ If the subnet exists the response will be similar to this:
     "result": 0,
     "text": "IPv4 subnet added",
     "arguments": {
-        "subnets": [
+        "subnet4": [
             {
                 "id": 123,
                 "subnet": "10.20.30.0/24"