Calling end()
doesn't release IPs.
#2630
Unanswered
the-maldridge
asked this question in
Q&A
Replies: 1 comment 5 replies
-
LWIP doesn't send a DHCP release when a netif is removed, if that's what you mean. So your DHCP server log will still show an active lease on the downed interface. If it's not that, can you make a small MCVE that shows this? Without a netif, LWIP isn't going to know about any IPs but there may be state further up the stack that's inconsistent in that case. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have both a wireless and wired interface setup, and they operate in an exclusive configuration where if the wired interface has link it forces the wireless interface down. When this happens, the wireless interface seems to retain its IP address, which is unexpected for a downed netdev. Is this intentional? If so is there any way to get rid of an IP address once its been assigned? I tried calling
config(IPAddress())
to try to get back to an unset address, but this doesn't seem to have an effect.Beta Was this translation helpful? Give feedback.
All reactions