]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2834] Adding relayed v6 options
authorPiotrek Zadroga <piotrek@isc.org>
Fri, 12 May 2023 11:49:43 +0000 (13:49 +0200)
committerPiotrek Zadroga <piotrek@isc.org>
Fri, 26 May 2023 13:20:31 +0000 (15:20 +0200)
src/bin/perfdhcp/command_options.cc

index b04975d90f4ac1d534e05cd68c6acd62bc0afa77..cb8a557e0f8392435ce6d6d15f77651e32e4c59b 100644 (file)
@@ -605,8 +605,6 @@ CommandOptions::initialize(int argc, char** argv, bool print_cmd_line) {
             // and must be used together with -A option.
             check((ipversion_ != 6),
                   "-6 must be explicitly specified before --o1r is used.");
-            check((ipversion_ == 4),
-                  "--o1r can be only used with -6 option");
             if (v6_relay_encapsulation_level_ != 1) {
                 isc_throw(isc::InvalidParameter, "-A must be explicitly specified before --o1r is used.");
             }