dhcpv6: harden reconfigure logic
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 8 Dec 2020 17:43:38 +0000 (18:43 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 8 Dec 2020 17:46:54 +0000 (18:46 +0100)
commit0ffa3a31f7146d320214f431291c1196070a010f
tree2d387b0982a1cbf15cc0ae34f473bf1b693f5e88
parent3999b6d3947bcaa2def874311b427a2ea0efba5b
dhcpv6: harden reconfigure logic

Check if a valid DHCPv6 message is returned by dhcpv6_request in
dhcpv6_poll_reconfigure as only RENEW/REBIND/INFORMATION REQUEST
messages can trigger the transmission of these messages in reply
to a RECONFIGURE

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/dhcpv6.c