2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 00:15:17 +00:00

[#2869] Addressed some comments

This commit is contained in:
Francis Dupont
2023-07-05 11:19:12 +02:00
parent b6d63f7d30
commit b115e37ba3
5 changed files with 24 additions and 24 deletions

View File

@@ -4408,7 +4408,7 @@ MySqlLeaseMgr::getLeases6ByRelayId(const DUID& relay_id,
// Expecting IPv6 valid prefix and address.
if (!link_addr.isV6()) {
isc_throw(InvalidAddressFamily, "expected IPv6 address while "
isc_throw(InvalidAddressFamily, "expected IPv6 link address while "
"retrieving leases from the lease database, got "
<< link_addr);
}
@@ -4417,7 +4417,7 @@ MySqlLeaseMgr::getLeases6ByRelayId(const DUID& relay_id,
<< static_cast<unsigned>(link_len));
}
if (!lower_bound_address.isV6()) {
isc_throw(InvalidAddressFamily, "expected IPv6 address while "
isc_throw(InvalidAddressFamily, "expected IPv6 start address while "
"retrieving leases from the lease database, got "
<< lower_bound_address);
}
@@ -4577,7 +4577,7 @@ MySqlLeaseMgr::getLeases6ByRemoteId(const OptionBuffer& remote_id,
// Expecting IPv6 valid prefix and address.
if (!link_addr.isV6()) {
isc_throw(InvalidAddressFamily, "expected IPv6 address while "
isc_throw(InvalidAddressFamily, "expected IPv6 link address while "
"retrieving leases from the lease database, got "
<< link_addr);
}
@@ -4586,7 +4586,7 @@ MySqlLeaseMgr::getLeases6ByRemoteId(const OptionBuffer& remote_id,
<< static_cast<unsigned>(link_len));
}
if (!lower_bound_address.isV6()) {
isc_throw(InvalidAddressFamily, "expected IPv6 address while "
isc_throw(InvalidAddressFamily, "expected IPv6 start address while "
"retrieving leases from the lease database, got "
<< lower_bound_address);
}
@@ -4744,7 +4744,7 @@ MySqlLeaseMgr::getLeases6ByLink(const IOAddress& link_addr,
// Expecting IPv6 valid prefix and address.
if (!link_addr.isV6()) {
isc_throw(InvalidAddressFamily, "expected IPv6 address while "
isc_throw(InvalidAddressFamily, "expected IPv6 link address while "
"retrieving leases from the lease database, got "
<< link_addr);
}
@@ -4753,7 +4753,7 @@ MySqlLeaseMgr::getLeases6ByLink(const IOAddress& link_addr,
<< static_cast<unsigned>(link_len));
}
if (!lower_bound_address.isV6()) {
isc_throw(InvalidAddressFamily, "expected IPv6 address while "
isc_throw(InvalidAddressFamily, "expected IPv6 start address while "
"retrieving leases from the lease database, got "
<< lower_bound_address);
}