[kea-dev] Options and Relay Agent information

Francis Dupont fdupont at isc.org
Thu Nov 12 12:12:10 UTC 2015


I am afraid it won't be enough to use an unordered set (current
OptionCollection is a multimap keyed by the option code) as
th bug (*) required the relay info option to be the last one.

(*) it is a bug because there is no REQUIRE about option order.
Note the relay info option is added by the relay so I can understand
it is in general appended (RFC 3046 has a SHALL for last position or
just before the end option (code 255)). For the server it is only
a SHOULD for the last position (RFC 3046 2.2).

Regards

Francis Dupont <fdupont at isc.org>

PS: this needs its ticket but is easy to fix (LibDHCP::packOptions is
a 4 line routine).


More information about the kea-dev mailing list