aboutsummaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-12-21 16:10:22 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2014-12-21 16:10:22 +0100
commit28634924f0950f1938ea74a7808d412dc1063fd0 (patch)
treec53fad75d9803252f71f16d0191360db2d49265f /shell/hush.c
parentad0d009e0c1968a14f17189264d3aa8008ea2e3b (diff)
downloadbusybox-28634924f0950f1938ea74a7808d412dc1063fd0.tar.gz
udhcpc: account for script run time
Based on the following user report: I ran into an issue where I was seeing a long delay in the scripts called in udhcp_run_script. I was using an old version of OpenWrt (kamikaze) and a satellite modem. An NTP script was being called and the modem would sometimes take a long time to respond to the DNS lookup when it was offline. This delay started affecting my lease time. The lease that I would get from my satellite modem before it was online would be short: only 60 seconds. The delay with NTP and the modem would typically be about 18 seconds. This would cause the first DHCP renew request from dhcpc to be a little late. Under certain circumstances, I could even see the first DHCP renew to occur after the lease had expired! function old new delta udhcpc_main 2816 2837 +21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush.c')
0 files changed, 0 insertions, 0 deletions