mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
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.