HomeFreeBSD

dhclient: Make arp_timeout configurable

Description

dhclient: Make arp_timeout configurable

Make arp_timeout available to dhclient.c, set the default timeout to 250
ms, and provide a new command-line argument, 'n' for setting the timeout
to 0.

Sponsored by: Google LLC (GSoC 2024)
Signed-off-by: Isaac Cilia Attard <icattard@FreeBSD.org>
MFC after: 10 days
Reviwed by: cperciva, brooks, Tom Hukins, Alexander Ziaee
Pull Request: https://github.com/freebsd/freebsd-src/pull/1368

(cherry picked from commit b51569ad3c806688befc00dad51d15a7e61659fb)

Details

Provenance
iciliaat_gmail.comAuthored on Jul 8 2024, 6:33 AM
cpercivaCommitted on Aug 20 2024, 4:57 AM
Parents
rG7ee68314d368: dhclient: Use clock_gettime() instead of time()
Branches
Unknown
Tags
Unknown