[Bug 14361] New: udhcpc ignores T1 and T2 values
bugzilla at busybox.net
bugzilla at busybox.net
Sat Nov 20 00:17:12 UTC 2021
https://bugs.busybox.net/show_bug.cgi?id=14361
Bug ID: 14361
Summary: udhcpc ignores T1 and T2 values
Product: Busybox
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Networking
Assignee: unassigned at busybox.net
Reporter: luke-jr+busyboxbugs at utopios.org
CC: busybox-cvs at busybox.net
Target Milestone: ---
It seems the code just hard-coded T1 at half the lease time
https://git.busybox.net/busybox/tree/networking/udhcp/dhcpc.c?h=1_34_stable#n1802
Values provided by the DHCP server (opt 58, 59) just get ignored...
Use case: I issue 24 hour leases, and want the lease to be used that long if
necessary (eg, if router is down), but I also want DHCP renewals every minute
so: 1) I can rapidly give static IP leases and have the clients pick up on
them; and 2) router reboots can quickly rebuild their lease table without
persistent state.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list