Enhancement - dhcpcd if_options bitfield has run out of space
Change how if-options does option lookup to get around the limitation of an unsigned long long bitfield.
Currently there is no more room to store runtime options, the field is maxed out at 64 options.
Create some if-options functions to do lookups and setting to make it easier to expand the bitfield behind the scenes (split up options field, or create and array or hash)
Would it be better to have different option fields for intent? Some options only apply to DHCP6 for example. I've never really explored either approach but I do know we need to do something :)
Would it be better to have different option fields for intent? Some options only apply to DHCP6 for example. I've never really explored either approach but I do know we need to do something :)
Depends on how many would be in each, and eventually it may fill up both. But definitely possible.
We have freed up one bit! DHCPCD_DEBUG is available for re-use.
No longer relevant since there are bits available for re-use.