summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2022-08-19 13:14:34 +0300
committerAndrei Pavel <andrei@isc.org>2022-08-26 18:39:15 +0300
commit71f03b5ed3f39a4c965d82d045c5d8ff1c4b72e0 (patch)
tree07701f95efd6d6fd7c06d05e3005fba7c990156e
parent2d5b9475c02ef56f835c5248b2d46fea3eda6258 (diff)
[#2537] add space in error message
There was a missing space after colon in the following error message: DHCP4_CONFIG_LOAD_FAIL configuration error using file: <file>, reason: Error while processing command 'config-set':loggers entry does not have a mandatory 'severity' element
-rw-r--r--src/bin/dhcp4/ctrl_dhcp4_srv.cc2
-rw-r--r--src/bin/dhcp6/ctrl_dhcp6_srv.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.cc b/src/bin/dhcp4/ctrl_dhcp4_srv.cc
index bddf8ae9a5..6b219fc971 100644
--- a/src/bin/dhcp4/ctrl_dhcp4_srv.cc
+++ b/src/bin/dhcp4/ctrl_dhcp4_srv.cc
@@ -869,7 +869,7 @@ ControlledDhcpv4Srv::processCommand(const string& command,
} catch (const isc::Exception& ex) {
return (isc::config::createAnswer(1, "Error while processing command '"
- + command + "':" + ex.what() +
+ + command + "': " + ex.what() +
", params: '" + txt + "'"));
}
}
diff --git a/src/bin/dhcp6/ctrl_dhcp6_srv.cc b/src/bin/dhcp6/ctrl_dhcp6_srv.cc
index f144f37a3b..bdddcb7478 100644
--- a/src/bin/dhcp6/ctrl_dhcp6_srv.cc
+++ b/src/bin/dhcp6/ctrl_dhcp6_srv.cc
@@ -872,7 +872,7 @@ ControlledDhcpv6Srv::processCommand(const string& command,
} catch (const isc::Exception& ex) {
return (isc::config::createAnswer(1, "Error while processing command '"
- + command + "':" + ex.what() +
+ + command + "': " + ex.what() +
", params: '" + txt + "'"));
}
}