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