1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/application_layer/dhcpv6
Benjamin Valentin 37a4fffb17 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.
2022-03-28 14:53:00 +02:00
..
_dhcpv6.h sys/net/dhcpv6: Implement stateless DHCPv6 2021-10-04 17:40:56 +02:00
client_dns.c dhcpv6_client: add DNS recursive name server option handling 2021-06-24 16:01:59 +02:00
client.c sys/net/dhcpv6: consider option 0 an end marker 2022-03-28 14:53:00 +02:00
Kconfig Merge pull request #16228 from JKRhb/dhcp-ia-na 2021-08-11 20:50:01 +02:00
Makefile dhcpv6: provide initial client implementation 2020-01-16 12:36:03 +01:00
relay.c dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent 2021-08-11 13:19:06 +02:00