mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 05:27:55 +00:00
[2442] in CharStringTooLong what() msg, clarify it includes an extra octet.
This commit is contained in:
parent
ea88e8907a
commit
c366a4f8de
@ -86,7 +86,7 @@ strToCharString(const MasterToken::StringRegion& str_region,
|
||||
}
|
||||
if (result.size() > MAX_CHARSTRING_LEN + 1) { // '+ 1' due to the len field
|
||||
isc_throw(CharStringTooLong, "character-string is too long: " <<
|
||||
result.size() << " bytes");
|
||||
(result.size() - 1) << "(+1) characters");
|
||||
}
|
||||
result[0] = result.size() - 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user