From: Peter Davies Date: Fri, 23 Sep 2022 10:43:16 +0000 (+0000) Subject: [#2569] fix misplaced colons in ARM JSON examples X-Git-Tag: Kea-2.3.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caaf1bf441f33596e9923d635f315c29d4ef79d2;p=thirdparty%2Fkea.git [#2569] fix misplaced colons in ARM JSON examples --- diff --git a/doc/sphinx/arm/dhcp4-srv.rst b/doc/sphinx/arm/dhcp4-srv.rst index d7a505af10..05b7800998 100644 --- a/doc/sphinx/arm/dhcp4-srv.rst +++ b/doc/sphinx/arm/dhcp4-srv.rst @@ -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. diff --git a/doc/sphinx/arm/dhcp6-srv.rst b/doc/sphinx/arm/dhcp6-srv.rst index de2eda39f2..f5c5d8c541 100644 --- a/doc/sphinx/arm/dhcp6-srv.rst +++ b/doc/sphinx/arm/dhcp6-srv.rst @@ -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. diff --git a/doc/sphinx/arm/hooks-ddns-tuning.rst b/doc/sphinx/arm/hooks-ddns-tuning.rst index 7b081bbe8b..924824773d 100644 --- a/doc/sphinx/arm/hooks-ddns-tuning.rst +++ b/doc/sphinx/arm/hooks-ddns-tuning.rst @@ -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))+'-' \ diff --git a/doc/sphinx/arm/hooks.rst b/doc/sphinx/arm/hooks.rst index 45aae381a5..e385d2573c 100644 --- a/doc/sphinx/arm/hooks.rst +++ b/doc/sphinx/arm/hooks.rst @@ -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))+'-' \