[BusyBox] DHCP Client fixes
Rob Landley
rob at landley.net
Sat Dec 6 04:56:08 UTC 2003
On Friday 05 December 2003 13:53, Joshua Jackson wrote:
> - Switched from using time(0) to calculate the passage of time to using the
> system uptime counter from the sysinfo() call. This fixes problems when the
> network is brought up before a timesync or time change is performed that
> causes a skew in timeout values.
Keep in mind that "uptime" doesn't advance during a software suspend. (2.6
feature). Maybe this is the behavior you want, but it does mean that dhcp
won't automatically request a lease renewal when the system comes back up.
(You'll have to thump it from a suspend script...)
Also, do you handle uptime wrapping on 32 bit systems? (Is this still an
issue?)
Rob
More information about the busybox
mailing list