summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2022-05-16Remove incorrect line about 'dhcp' in hostname.if triggering the use ofAaron Bieber
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2021-12-13including sys/cdefs.h manually started as a result of netbsd trying toTheo 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-08-24use Pa for resolv.conf.tail, since there is no longer a man pageJason McIntyre
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-04Add sys/queue.h to the include list since imsg.h needs it. CurrentlyClaudio Jeker
2021-03-04Notice when link-timeout expires even if istty(STDERR) hints that dhclient hasKenneth R Westerback
2021-03-02Rename local variable 'cur_time' in set_timeout() to 'now' likeKenneth 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-22remove unused decode_hw_header() functionJonathan Gray
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-19Missed poll -> ppoll in log_warn() verbiage.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
2021-02-01dhclient(8): default_route_index(): poll(2) -> ppoll(2)cheloha
2021-02-01Switch dispatch loop to ppoll() and protocol timeouts to struct timespec.Kenneth R Westerback
2020-12-10Simplify '-i' handling, failing immediately during command line parsingKenneth R Westerback
2020-12-06Oops. Missed chunk in previous.Kenneth 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