You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem if for example any DHCPv6 option was encoded incorrectly then the whole DHCP message is just silently ignored. It makes diagnostics much more difficult. So an end user may think that DHCP server does work or anything else.
An example case:
If you encode bootfile param option as just a single string like "root=/dev/sda1 rw" instead of "\0x00\0x10root=/dev/sda rw" then the whole DHCPv6 message will be just silently ignored.
Unfortunately the err of the if is returned by dhcpv6.FromBytes(buf[:n]) which in turn returns an error if any error occurred, including if an option is parsed with an error.
The problem if for example any DHCPv6 option was encoded incorrectly then the whole DHCP message is just silently ignored. It makes diagnostics much more difficult. So an end user may think that DHCP server does work or anything else.
An example case:
If you encode bootfile param option as just a single string like
"root=/dev/sda1 rw"
instead of"\0x00\0x10root=/dev/sda rw"
then the whole DHCPv6 message will be just silently ignored.See also: https://github.com/insomniacslk/dhcp/pull/340/files#r356170985
The text was updated successfully, but these errors were encountered: