Skip to content

dhcp: accept IPv4-address options longer than expected

Beniamino Galvani requested to merge bg/dhcp-dup-ip-options into main

Some DHCP servers send duplicate options, and we concatenate them according to RFC 3396 section 7. Therefore, it's possible that a option carrying a IPv4 address has a length > 4.

See also commit 1cbf9d22 ('n-dhcp4: accept options that are longer than requested') which did something similar in the nettools client.

#848 (closed)

Merge request reports