Browse Source

[4540] Finished doc/example updates

Francis Dupont 8 years ago
parent
commit
9957f9c138
2 changed files with 13 additions and 0 deletions
  1. 7 0
      doc/examples/kea6/multiple-options.json
  2. 6 0
      doc/guide/dhcp4-srv.xml

+ 7 - 0
doc/examples/kea6/multiple-options.json

@@ -73,6 +73,13 @@
             {
                 "code": 12,
                 "data": "2001:db8:1:0:ff00::1"
+            },
+            // Options that take integer values can either be specified in
+            // dec or hex format. Hex format could be either plain (e.g. abcd)
+            // or prefixed with 0x (e.g. 0xabcd).
+            {
+                "name": "preference",
+                "data": "0xf0"
             }
       ],
       "pools": [

+ 6 - 0
doc/guide/dhcp4-srv.xml

@@ -1338,6 +1338,12 @@ It is merely echoed by the server
        <command>"1"</command>. Future versions of Kea will accept all those values
        for all boolean parameters.</para>
      </note>
+     <note>
+       <para>Numbers can be specified in decimal or hexadecimal format.
+        The hexadecimal format can be either plain (e.g. abcd) or
+        prefixed with 0x (e.g. 0xabcd).
+       </para>
+     </note>
     </section>
 
     <section id="dhcp4-vendor-opts">