lwIP - A Lightweight TCP/IP stack - Bugs: bug #57620, sntp: sntp_retry_timeout does not...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57620: sntp: sntp_retry_timeout does not reach SNTP_RETRY_TIMEOUT_MAX
Submitter: | Simon Goldschmidt <goldsimon> | ||
Submitted: | Fri 17 Jan 2020 08:39:07 AM UTC | ||
Category: | apps | Severity: | 3 - Normal |
Item Group: | Change Request | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | git head |
Thu 30 Jan 2020 08:06:10 PM UTC, comment #1: |
Simon Goldschmidt <goldsimon> |
Fri 17 Jan 2020 08:39:07 AM UTC, original submission:
In sntp_retry(), retry timeout is shifted left by 1 (multiplied by 2) for each retry, but if the result is greater than SNTP_RETRY_TIMEOUT_MAX, it does not get assigned and thus this maximum is never reached. |
Simon Goldschmidt <goldsimon> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
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 |
---|---|---|---|---|---|
2020-01-30 | goldsimon | Status | None | Fixed | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-f8d8.
Corresponding source code
Fixed by adding an 'else' branch to the corresponding check.