Skip to content
Permalink
Browse files

rc: reduce max wait for ntp sync on wanup from 51 to 26 secs

  • Loading branch information...
RMerl committed Jun 10, 2019
1 parent a11bc19 commit 9166dd215a0a8394050b8779c8725f60e7b036f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 release/src/router/rc/wan.c
@@ -2727,7 +2727,7 @@ wan_up(const char *pwan_ifname)

/* Sync time */
refresh_ntpc();
while ((!nvram_get_int("ntp_ready")) && (i++ < 6)) {
while ((!nvram_get_int("ntp_ready")) && (i++ < 5)) {
sleep(i*i);
}

0 comments on commit 9166dd2

Please sign in to comment.
You can’t perform that action at this time.