Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys/net/dhcpv6: consider option 0 an end marker
The REPLY of a TP-Link router (WR400 v4.20) ends with a 0 option that has a bogus length. When subtracting the length from the remaining length, we get an underflow (remaining `len` is 3, option len is 4). To get a working DHCP response, consider 0 (Reserved) an end marker.
- Loading branch information