summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp
diff options
context:
space:
mode:
authorPiotrek Zadroga <piotrek@isc.org>2023-05-12 13:49:43 +0200
committerPiotrek Zadroga <piotrek@isc.org>2023-05-26 15:20:31 +0200
commit8e36e7be3c6fccc4e3253ba14371e0d54be41447 (patch)
treeb3d2e7a4bdd95aeaf3dfd782ec287980d3bcf8b4 /src/bin/perfdhcp
parent[#2834] Adding relayed v6 options (diff)
downloadkea-8e36e7be3c6fccc4e3253ba14371e0d54be41447.tar.xz
kea-8e36e7be3c6fccc4e3253ba14371e0d54be41447.zip
[#2834] Adding relayed v6 options
Diffstat (limited to 'src/bin/perfdhcp')
-rw-r--r--src/bin/perfdhcp/command_options.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/perfdhcp/command_options.cc b/src/bin/perfdhcp/command_options.cc
index b04975d90f..cb8a557e0f 100644
--- a/src/bin/perfdhcp/command_options.cc
+++ b/src/bin/perfdhcp/command_options.cc
@@ -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.");
}