]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4540] Finished doc/example updates
authorFrancis Dupont <fdupont@isc.org>
Tue, 18 Apr 2017 06:09:40 +0000 (08:09 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 18 Apr 2017 06:09:40 +0000 (08:09 +0200)
doc/examples/kea6/multiple-options.json
doc/guide/dhcp4-srv.xml

index ed341d35d3627ee29e8435ca40e0d8ece8260e3c..7ff428b3188878bf34cf8e797092b8f93d3b5e68 100644 (file)
             {
                 "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": [
index 10c96f0d3e96b7816a3d41130f75ce2e64c24efe..626b2872fdeff2aa99bf7b1d57c64d37474917ac 100644 (file)
@@ -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">