2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#505] addressed review

This commit is contained in:
Razvan Becheriu
2020-08-20 23:07:52 +03:00
parent c013217fac
commit 6833b3d16b
2 changed files with 6 additions and 3 deletions

View File

@@ -125,7 +125,8 @@ BaseNetworkParser::parseCommon(const ConstElementPtr& network_data,
if (has_renew && has_rebind && (renew > rebind)) {
isc_throw(DhcpConfigError, "the value of renew-timer" << " (" << renew
<< ") is greater than rebind-timer" << " (" << rebind << ")");
<< ") is greater than the value of rebind-timer" << " ("
<< rebind << ")");
}
network->setValid(parseLifetime(network_data, "valid-lifetime"));

View File

@@ -767,7 +767,8 @@ Subnet4ConfigParser::initSubnet(data::ConstElementPtr params,
if (has_renew && has_rebind && (renew > rebind)) {
isc_throw(DhcpConfigError, "the value of renew-timer" << " (" << renew
<< ") is greater than rebind-timer" << " (" << rebind << ")");
<< ") is greater than the value of rebind-timer" << " ("
<< rebind << ")");
}
if (!subnet4->getValid().unspecified()) {
@@ -1262,7 +1263,8 @@ Subnet6ConfigParser::initSubnet(data::ConstElementPtr params,
if (has_renew && has_rebind && (renew > rebind)) {
isc_throw(DhcpConfigError, "the value of renew-timer" << " (" << renew
<< ") is greater than rebind-timer" << " (" << rebind << ")");
<< ") is greater than the value of rebind-timer" << " ("
<< rebind << ")");
}
if (!subnet6->getPreferred().unspecified()) {