[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP
From: |
Steve Strong |
Subject: |
[lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2 |
Date: |
Fri, 4 Jan 2019 04:35:39 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0 |
Follow-up Comment #2, bug #55380 (project lwip):
I think it has historical reasons.
In v1.4.1 the driver monitored the DHCP process and closed the DHCP when an IP
has been assigned with dhcp_close(). This did not clear the IP address,
because dhcp_release() was not called (DHCP was not released).
In the new version (commit:
https://github.com/yarrick/lwip/commit/ec4f00179d0ef90e4903fd752e450ec23ebc3d34)
the two old functions dhcp_release() and dhcp_stop() have been merged into the
new function dhcp_release_and_stop() which now clears the IP address even when
dhcp_close() is called.
After all, maybe the old DHCP managing (start and stop) was wrong and that is
why it has been changed? I could not find any issue related to this.
Also, I could not find anywhere a clear description how DHCP should be handled
by the driver, it would be nice if you could post a link to that.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?55380>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2, Steve Strong, 2019/01/04
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2, Simon Goldschmidt, 2019/01/04
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2,
Steve Strong <=
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2, Simon Goldschmidt, 2019/01/04
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2, Steve Strong, 2019/01/04
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2, Simon Goldschmidt, 2019/01/04
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2, Steve Strong, 2019/01/04
- [lwip-devel] [bug #55380] dhcp_release_and_stop() clears the assigned IP address - v2.1.2, Steve Strong, 2019/01/04