summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
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
2020-11-27Shuffle code relating to initializing the physical interface and theKenneth R Westerback
2020-11-25When processing proposed static routes (inc. default route) ignoreKenneth 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-18Tweak debug messages around resolv.conf updating.Kenneth R Westerback
2020-11-06Remove the -L option. A debugging tool that is no longer required.Kenneth R Westerback
2020-11-06Add some debug output showing the exact network configurationKenneth R Westerback
2020-07-31Ensure DECLINE messages always contain the address from the OFFER.Kenneth R Westerback
2020-07-17'seonds' -> 'seconds'.Kenneth R Westerback
2020-07-07Revert r1.121 and rewrite merge_option_data() to achieve same effectKenneth R Westerback
2020-06-03Simplify logic in add_route(), eliminating pointless code duplication andKenneth R Westerback
2020-05-28A few stray 'ifa' overloadings.Kenneth R Westerback
2020-05-28Reduce 'ifa' overloading by renaming some parameters 'address'.Kenneth R Westerback
2020-05-28Reduce 'ifa' overloading by renaming proposal field from 'ifa' toKenneth R Westerback