summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2022-07-02dhclient(8) has been undergoing replacement with "ifconfig xxx inet auto"Theo de Raadt
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-08-25Don't use log_procname before it is initialized. In particularKenneth R Westerback
2021-07-27Having 'taken charge' of the interface by eliminating otherKenneth R Westerback
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2021-05-02Shuffle some code to eliminate get_address(), bring interface_state() andKenneth R Westerback
2021-04-07"oldlladddr" -> "oldlladdr" in fatal() verbiage.Kenneth R Westerback
2021-04-01Tweak log_debug() verbiage to reduce repetitive infoKenneth R Westerback
2021-04-01Also immediately accept the *first* OFFER if it matches the requested address,Kenneth R Westerback
2021-03-31Set 'select_timeout' to 'now' when an OFFER is received for the IP addressKenneth R Westerback
2021-03-31Add two missing checks for strdup() returning NULL.Kenneth R Westerback
2021-03-31Fix some debug output when running in foreground.Kenneth R Westerback
2021-03-28Now that the real time and monotonic time streams don'tKenneth R Westerback
2021-03-28Convert remaining timers (lease renew, rebind, expiry) toKenneth R Westerback
2021-03-24More timespec conversions. Less 'seconds' arithmetic.Kenneth R Westerback
2021-03-16Nuke unused time_t variable.Kenneth R Westerback
2021-03-11Use timespec timers to determine when select-timeout and timeout intervalsKenneth R Westerback
2021-03-09Replace time_t startup_time with struct timespec link_timeout.Kenneth R Westerback
2021-03-04Notice when link-timeout expires even if istty(STDERR) hints that dhclient hasKenneth R Westerback
2021-03-02Eliminate redundant checks for expired leases in ifi->leasedb. SimplyKenneth R Westerback
2021-02-28Move tick_msg(TICK_WAIT) calls after related log_debug()Kenneth R Westerback
2021-02-28Reduce non-debug output further by allowing up to the usual 3 secondKenneth R Westerback
2021-02-27Stop checking 'epoch' in get_recorded_lease() and just set it asKenneth R Westerback
2021-02-27Disentangle log_debug() output from tick_msg() output.Kenneth R Westerback
2021-02-24Complete deleting ifi->active before calling write_lease_db().Kenneth R Westerback
2021-02-24No need to get time() twice. Just use the alreadyKenneth R Westerback
2021-02-24No need to check ifi->active for NULL when looking for duplicate/obsoleteKenneth R Westerback
2021-02-24Fix annoying typo in a comment.Kenneth R Westerback
2021-02-24Remove incomplete/incorrect connection with autoconf, clearing groundKenneth R Westerback
2021-02-22Switch reboot timing to timespec, the better to handle theKenneth R Westerback
2021-02-21Rename struct client_config fields 'timeout', 'link_timeout' andKenneth R Westerback
2021-02-21No need for state_preboot() to double check timeout beingKenneth R Westerback
2021-02-20tick_msg("lease", TICK_SUCCESS) in bind_lease() should *not* beKenneth R Westerback
2021-02-19Put duplicated code calculating backoff interval and packet 'secs'Kenneth R Westerback
2021-02-15Extraneous blank line.Kenneth R Westerback
2021-02-15Rework tick_msg() to make messages displayed during startup moreKenneth R Westerback
2021-02-02dhclient(8): fork_privchld, take_charge, propose_release: poll(2) -> ppoll(2)cheloha
2020-12-10Simplify '-i' handling, failing immediately during command line parsingKenneth R Westerback
2020-12-06fatal() immediately whem parsing command line option '-c' reveals a non-existantKenneth R Westerback
2020-12-01Extract another couple of chunks from main() into helper functions,Kenneth R Westerback
2020-11-27Shuffle code relating to initializing the physical interface and theKenneth R Westerback
2020-11-21No need to update ifi->state just before setting quit to TERMINATE.Kenneth R Westerback
2020-11-21No need to update resolv.conf when renewing a lease does not result in anyKenneth R Westerback
2020-11-21When REBOOT'ing it is necessary to apply_defaults() to the recordedKenneth R Westerback
2020-11-20The default lease rebind time is 7 * (expiry/8), not 8 * (expiry/7).Kenneth R Westerback
2020-11-19Avoid spurious resolv.conf updates whenKenneth R Westerback
2020-11-18Recognize get_link_ifa() failure (a.k.a. "invalid interface") as a fatal errorKenneth R Westerback
2020-11-18No need to call get_hw_address() from interface_state() since theKenneth R Westerback
2020-11-06Remove the -L option. A debugging tool that is no longer required.Kenneth R Westerback
2020-07-31Ensure DECLINE messages always contain the address from the OFFER.Kenneth R Westerback