commit | 1ef0ec55c9b2d6b4697dc9bcf2b5bf5bbe956fbd | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan.yates@data61.csiro.au> | Tue Dec 19 18:18:50 2023 +1000 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Dec 21 09:18:32 2023 +0100 |
tree | 33b98f0f8ccbd2fe21fa1dc986b1bfd8c5e17e5f | |
parent | 434c93ddfbc53de7fcfc55954e4451600debe092 [diff] |
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: Jordan Yates <jordan.yates@data61.csiro.au>