Skip to content
Verified Commit 6dcdf066 authored by Vincent Coubard's avatar Vincent Coubard
Browse files

azure: Retry NTP request in case of failure



Sometimes, pool.ntp.org does not reply to requests. When this
happens, the ntp client blocks forever.

To solve that issue, a timeout of 3s is set on the ntp socket. The
timeout in the azure stack has been raised to 15s to accomodate this
change.

Finaly since the azure example require custom lwip options; it is now
isolated from examples that uses the default lwip configuration.

Signed-off-by: Vincent Coubard's avatarVincent Coubard <vincent.coubard@arm.com>
parent e3b5b076
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment