Enhance dhclient to parse multiple instances in Option 17/43/125
Wang, Dongyang
Dongyang.Wang at windriver.com
Wed Sep 8 04:46:54 UTC 2021
Dear all,
I pushed an enhancement feature to the Gitlab.
https://gitlab.isc.org/isc-projects/dhcp/-/issues/202
This feature is use to resolve:
When DHCP server sends a single instance in Option 17/43/125 from the dhclient-exit-hooks,
dhclient can parse it well.
But if DHCP server sends multiple instances, dhclient only can parse the first one.
The current resolution is simple:
Use a do-while to parse each "struct option_cache-->option" in the oclist.
Is anyone willing to discuss this feature? Thanks 😊
Best Regards,
Dongyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20210908/2a869157/attachment.htm>
More information about the dhcp-users
mailing list