Skip to content
Commit d06ca47e authored by Marcus Shawcroft's avatar Marcus Shawcroft Committed by Jukka Rissanen
Browse files

net/dhcpv4: Use unique XID on each request.



Rather than reuse XID's on retransmissions, always use a unique XID.

Either behaviour is permitted by rfc2131.  Debugging the dhcp client
in the presence of multiple dhcp servers with significant packet loss
in the network is much easier if we don't unnecessarily reuse request
identifiers.

Change-Id: I5c82cbdbf3dfc0ef88cae036aa863946844c144f
Signed-off-by: default avatarMarcus Shawcroft <marcus.shawcroft@arm.com>
parent 8cd2e089
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment