lwIP - A Lightweight TCP/IP stack - Bugs: bug #60043, DHCP - lwip 2.1.2 - Manage the...
You are not allowed to post comments on this tracker with your current authentication level.
bug #60043: DHCP - lwip 2.1.2 - Manage the very low value for lease time
Submitter: | Vincent SELOSSE <vincent_netatmo> | ||
Submitted: | Thu 11 Feb 2021 04:35:57 PM UTC | ||
Category: | DHCP | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Planned Release: | None |
lwIP version: | Other |
Mon 20 Jun 2022 03:30:55 PM UTC, comment #3: |
Eric Sawade <ericadamhall> |
Tue 09 Mar 2021 05:13:19 PM UTC, comment #2: Simon,
|
Vincent SELOSSE <vincent_netatmo> |
Fri 05 Mar 2021 08:51:11 AM UTC, comment #1:
|
Simon Goldschmidt <goldsimon> |
Thu 11 Feb 2021 04:35:57 PM UTC, original submission:
In RFC 2131, it was specify that 4.3. The minimum lease time restriction has been removed.
|
Vincent SELOSSE <vincent_netatmo> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-02-11 | vincent_netatmo | Attached File | - | Added 0001-lwip-2.1.2-Manage-the-lease-time-very-low-value.patch, #50855 | |
2021-02-11 | vincent_netatmo | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-3230.
Corresponding source code
Hey together,
i have exactly the same issue. My TENDA router assigns me a lease time of 30s. As lwIP is dividing this by DHCP_COARSE_TIMER_SECS (which is 60), it assigns to all timeout the value 1.
- `t0_timeout` = 1
- `t1_timeout` = 1
- `t2_timeout` = 1
This results in the function dhcp_coarse_tmr(void), to enter always
- dhcp_release_and_stop(netif);
- dhcp_start(netif);
So I get a new ip and all connections are getting closes. Is there a way to prevent this?