Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operating without a DHCP socket loses IP address when handling link disconnections #34

Closed
ryan-summers opened this issue Jan 6, 2022 · 0 comments · Fixed by #37
Closed
Labels
bug Something isn't working

Comments

@ryan-summers
Copy link
Member

If the ethernet link is dropped without a DHCP socket, the interface IP address is cleared. However, because DHCP is not enabled, there is no means of re-acquiring an IP, so the stack will become unresponsive.

We should only clear the IP of the interface if a DHCP socket is present, since we could then re-acquire an address.

@ryan-summers ryan-summers added the bug Something isn't working label Jan 6, 2022
@ryan-summers ryan-summers changed the title Operating without a DHCP socket loses IP when handling link disconnections Operating without a DHCP socket loses IP address when handling link disconnections Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant