[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #57620] sntp: sntp_retry_timeout does not reach SNTP_R
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #57620] sntp: sntp_retry_timeout does not reach SNTP_RETRY_TIMEOUT_MAX |
Date: |
Fri, 17 Jan 2020 03:39:09 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL:
<https://savannah.nongnu.org/bugs/?57620>
Summary: sntp: sntp_retry_timeout does not reach
SNTP_RETRY_TIMEOUT_MAX
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: goldsimon
Submitted on: Fri 17 Jan 2020 08:39:07 AM UTC
Category: apps
Severity: 3 - Normal
Item Group: Change Request
Status: None
Privacy: Public
Assigned to: goldsimon
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?57620>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #57620] sntp: sntp_retry_timeout does not reach SNTP_RETRY_TIMEOUT_MAX,
Simon Goldschmidt <=