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

[#1695] updated documentation

This commit is contained in:
Razvan Becheriu
2022-02-17 19:55:41 +02:00
parent a6d13a60ff
commit 9afd838757
2 changed files with 5 additions and 1 deletions

View File

@@ -3695,6 +3695,8 @@ Dhcpv4Srv::acceptServerId(const Pkt4Ptr& query) const {
return (false);
}
// According to RFC5107, the RAI_OPTION_SERVER_ID_OVERRIDE option if
// present, should match DHO_DHCP_SERVER_IDENTIFIER option.
OptionPtr rai_option = query->getOption(DHO_DHCP_AGENT_OPTIONS);
if (rai_option) {
OptionPtr rai_suboption = rai_option->getOption(RAI_OPTION_SERVER_ID_OVERRIDE);