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 2d1160426d sys/net/dhcpv6: discard stale replies
The DHCPv6 server might send reponses multiple times.
The DHCPv6 client will only handle the first response, if additional
responses are comming in they are left in the RX queue.

That results in the client always reading the response of a previous
transaction on any subsequent transactions.
In this case the client will try again, creating a new transaction - that
will again only read the previous response.

To fix this, discard previous responses by flushing the RX queue before
sending a new message to the DHCPv6 server.

fixes #13834
2020-06-21 22:07:32 +02:00
..
_dhcpv6.h dhcpv6: provide initial client implementation 2020-01-16 12:36:03 +01:00
client.c sys/net/dhcpv6: discard stale replies 2020-06-21 22:07:32 +02:00
Makefile dhcpv6: provide initial client implementation 2020-01-16 12:36:03 +01:00