Enhance dhclient to parse multiple instances in Option 17/43/125

"Wang, Dongyang" <[email protected]>
Newsgroups gmane.network.dhcp.isc.dhcp-client
Message-ID <PH0PR11MB49027E4D5C4D5F488FCC8B1FF9D49__11906.3263687835$1631076443$gmane$org@PH0PR11MB4902.namprd11.prod.outlook.com>
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

_______________________________________________
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/dhcp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.