diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-12-21 16:10:22 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-12-21 16:10:22 +0100 |
commit | 28634924f0950f1938ea74a7808d412dc1063fd0 (patch) | |
tree | c53fad75d9803252f71f16d0191360db2d49265f /testsuite/bzcat.tests | |
parent | ad0d009e0c1968a14f17189264d3aa8008ea2e3b (diff) | |
download | busybox-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 'testsuite/bzcat.tests')
0 files changed, 0 insertions, 0 deletions