mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 23:15:20 +00:00
[#2227] split suboptions in separate options
This commit is contained in:
@@ -49,7 +49,7 @@ Option6StatusCode::clone() const {
|
||||
}
|
||||
|
||||
void
|
||||
Option6StatusCode::pack(isc::util::OutputBuffer& buf) const {
|
||||
Option6StatusCode::pack(isc::util::OutputBuffer& buf, bool) const {
|
||||
// Pack option header.
|
||||
packHeader(buf);
|
||||
// Write numeric status code.
|
||||
@@ -159,9 +159,9 @@ Option4SlpServiceScope::clone() const {
|
||||
}
|
||||
|
||||
void
|
||||
Option4SlpServiceScope::pack(isc::util::OutputBuffer& buf) const {
|
||||
Option4SlpServiceScope::pack(isc::util::OutputBuffer& buf, bool check) const {
|
||||
// Pack option header.
|
||||
packHeader(buf);
|
||||
packHeader(buf, check);
|
||||
// Write mandatory flag.
|
||||
buf.writeUint8(static_cast<uint8_t>(getMandatoryFlag() ? 1 : 0));
|
||||
// If there is any scope list, write it.
|
||||
|
Reference in New Issue
Block a user