Skip to content
Commit 1ef0ec55 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

net: ip: dhcpv4: remove address on interface down



Any received address is no longer valid once the interface goes down.
Leaving the address assigned results in the L4 interface transitioning
through the following on reconnection:
 UP: Interface is connected
 DOWN: Old address is removed by DHCP
 UP: New address is re-added by DHCP

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 434c93dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment