mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[master] Merge branch 'trac4495'
This commit is contained in:
@@ -276,9 +276,8 @@ void Pkt4::setType(uint8_t dhcp_type) {
|
||||
}
|
||||
} else {
|
||||
// There is no message type option yet, add it
|
||||
std::vector<uint8_t> tmp(1, dhcp_type);
|
||||
opt = OptionPtr(new OptionInt<uint8_t>(Option::V4, DHO_DHCP_MESSAGE_TYPE,
|
||||
tmp.begin(), tmp.end()));
|
||||
opt.reset(new OptionInt<uint8_t>(Option::V4, DHO_DHCP_MESSAGE_TYPE,
|
||||
dhcp_type));
|
||||
addOption(opt);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user