[Kea-users] Changing the order of DHCP Options in DHCP Offer Packet

Francis Dupont fdupont at isc.org
Thu Jul 20 10:17:27 UTC 2017


Gokulakrishnan Gopalakrishnan writes:
> I'm intercepting the DHCP Offer packet and reading the DHCP options present
> in it. The options are present in the ascending order of its number.
> I want to change the order in which the options are packed in the DHCP
> Offer. Can someone help it?

=> first there is no good reason to change the order (only the RAI and of
course the END options have a specific position).
Second to do this you need a hook (BTW you can copy the Kea code packing
messages as it has already what you can need). Perhaps there is a hook
doing this available somewhere (you are not the first asking this).

Regards

Francis Dupont <fdupont at isc.org>



More information about the Kea-users mailing list