]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2569] fix misplaced colons in ARM JSON examples
authorPeter Davies <peterd@isc.org>
Fri, 23 Sep 2022 10:43:16 +0000 (10:43 +0000)
committerPeter Davies <peterd@isc.org>
Fri, 23 Sep 2022 12:09:23 +0000 (12:09 +0000)
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
doc/sphinx/arm/hooks-ddns-tuning.rst
doc/sphinx/arm/hooks.rst

index d7a505af10820d3c5d2cd48006c55d44beca7a7e..05b7800998e815890230c487cee2d2875e1f4cda 100644 (file)
@@ -5088,7 +5088,7 @@ following can be used:
 
 ::
 
-   "Dhcp4:" {
+   "Dhcp4": {
        # This specifies global reservations.
        # They will apply to all subnets that
        # have global reservations enabled.
index de2eda39f25549a458d2c8ee917c8533eb6f577f..f5c5d8c54117fa7d3d3119594fd35ae6dd723c0b 100644 (file)
@@ -4484,7 +4484,7 @@ following can be used:
 
 ::
 
-   "Dhcp6:" {
+   "Dhcp6": {
        # This specifies global reservations.
        # They will apply to all subnets that
        # have global reservations enabled.
index 7b081bbe8bb5a135b670d06bfb6b50e5a147573c..924824773da7422db5272e730732d616e93a08bd 100644 (file)
@@ -71,7 +71,7 @@ global expression for that subnet. An example subnet expression is shown below:
 
         // This is a subnet-specific user context.
         "user-context": {
-            "ddns-tuning:" {
+            "ddns-tuning": {
                 "hostname-expr": "'guest-'+Int8ToText(substring(pkt4.yiaddr, 0,1))+'-' \
                                           +Int8ToText(substring(pkt4.yiaddr, 1,2))+'-' \
                                           +Int8ToText(substring(pkt4.yiaddr, 2,3))+'-' \
index 45aae381a5e1af6159ca9b5e48f1e545f6b0b178..e385d2573c4d8ef211545b0f0a35c318be416f0d 100644 (file)
@@ -308,7 +308,7 @@ The DDNS-Tuning Hook uses user-context to configure per subnet behavior. Example
             "pool": "192.0.2.10 - 192.0.2.20",
         } ],
         "user-context": {
-            "ddns-tuning:" {
+            "ddns-tuning": {
                 "hostname-expr": "'guest-'+Int8ToText(substring(pkt4.yiaddr, 0,1))+'-' \
                                           +Int8ToText(substring(pkt4.yiaddr, 1,2))+'-' \
                                           +Int8ToText(substring(pkt4.yiaddr, 2,3))+'-' \