]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2834] Addressed review comments
authorPiotrek Zadroga <piotrek@isc.org>
Mon, 29 May 2023 12:53:04 +0000 (14:53 +0200)
committerPiotrek Zadroga <piotrek@isc.org>
Mon, 29 May 2023 12:53:04 +0000 (14:53 +0200)
doc/sphinx/man/perfdhcp.8.rst
src/bin/perfdhcp/command_options.cc

index a8e62e94dfc4fe3c4f4ec5a82be4a39a4b6477a4..d7264a96e0d3a2fa69968ecf1a43a8341b404336 100644 (file)
@@ -367,9 +367,9 @@ The following options only apply for DHCPv6 (i.e. when ``-6`` is given).
    does not offer any kind of logic behind those options; they are simply
    inserted into packets and sent as is. Please notice that ``encapsulation-level:``
    is optional and if omitted, default encapsulation-level value 1 is used.
-   For example, to insert client class identifier (option code 60) with a
-   string "docsis" at first level of encapsulation, use "--or 60,646f63736973"
-   or "--or 1:60,646f63736973". The ``--or`` may be used multiple times.
+   For example, to insert Subscriber identifier (option code 38) with a
+   value 1234 at first level of encapsulation, use ``--or 38,31323334``
+   or ``--or 1:38,31323334``. The ``--or`` may be used multiple times.
    It must be used together with ``-A``.
 
 Template-Related Options
index b681740243adacf734d678e9ede37e4e75d68d12..249ebc0f14cda248c8ec476ad164c5ce65455283 100644 (file)
@@ -638,8 +638,8 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) {
 
             check(comma_loc == std::string::npos,
                   "--or option must provide encapsulation level, a colon, option code, a comma and "
-                  "hexstring for the option content, e.g. --or 1:60,646f63736973 for sending option"
-                  " 60 (class-id) with the value 'docsis' at first level of encapsulation");
+                  "hexstring for the option content, e.g. --or 1:38,31323334 for sending option"
+                  " 38 (subscriber-id) with the value 1234 at first level of encapsulation");
             int code = 0;
 
             // Try to parse the option code