[Bug 13776] udhcpc allows short lease to expire

bugzilla at busybox.net bugzilla at busybox.net
Sat May 22 14:16:59 UTC 2021


--- Comment #10 from Paul <sinbad_4273 at yahoo.com> ---
Created a patch to avoid the infinite loop broadcasting renew attempts shown in
the previously attached logs. Used the same code that limits us to three renew
attempts to also limit us to three broadcast renew attempts. This works in the
case of my modem (new logs attached).

I don't know if this can fail if the REBINDING state is entered through a
different code path with packet_num not being reset. Could we go straight from
failed retries to /* Timed out, enter init state */ without going through all
the broadcast renew attempt failures?

Perhaps it would be a better idea to reduce the lease_remaining variable as
retries happen to eventually reach zero or less and allow us to reach /* Timed
out, enter init state */ that way?

If I can provide any useful information to create a proper fix please let me

You are receiving this mail because:
You are on the CC list for the bug.

More information about the busybox-cvs mailing list