[kea-dev] Options and Relay Agent information

Vadim Fedorenko jun-junk at yandex.ru
Tue Nov 10 22:27:12 UTC 2015


Found strange behavior of Cisco switches acting as DHCP Relay Agents. All options, that are placed after Option 82, are stripped from DHCPACK packet. So, because OptionCollection is std::multimap, an ordered by the option type container, all options with codes higher than 82 (like tftp server and so on) are stripped and the client cannot receive them.

Is it possible to change OptionCollection to std::unordered_multimap and make Option 82 to be the last option in the packet?
-- 
Best regards,
 Vadim



More information about the kea-dev mailing list