From: Razvan Becheriu Date: Wed, 23 Sep 2020 11:23:16 +0000 (+0300) Subject: [#1373] updated documentation X-Git-Tag: Kea-1.9.0~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ffcdeda68b2bd366399278d214d81b403902fbe;p=thirdparty%2Fkea.git [#1373] updated documentation --- diff --git a/src/hooks/dhcp/flex_option/flex_option.dox b/src/hooks/dhcp/flex_option/flex_option.dox index 0f32bf8d02..af3270b66f 100644 --- a/src/hooks/dhcp/flex_option/flex_option.dox +++ b/src/hooks/dhcp/flex_option/flex_option.dox @@ -45,7 +45,8 @@ configuration: "options": [ { "code": 100, - "add": "concat(relay4[2].hex, 'abc')" + "add": "concat(relay4[2].hex, 'abc')", + "csv-format": true } ] } @@ -65,7 +66,8 @@ To configure it for kea-dhcp6, the commands are simply as shown below: "options": [ { "code": 100, - "add": "concat(relay6[0].option[37].hex, 'abc')" + "add": "concat(relay6[0].option[37].hex, 'abc')", + "csv-format": true } ] } @@ -91,6 +93,8 @@ The sole parameter is a options list of options with: on the query packet. If the expression evaluates to true and the option already exists in the response packet, the option is removed from the response. Only one action can be specified. + - @b csv-format - Specifies the option format used for input. If not + specified, it will default to true. Note for the rare options which can be empty this mechanism does not work. The proposed solution in this case is to use a client class to set the