summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dhclient.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Tweak log_debug() verbiage to reduce repetitive infokrw2021-04-011-21/+44
* Also immediately accept the *first* OFFER if it matches the requested address,krw2021-04-011-2/+5
* Set 'select_timeout' to 'now' when an OFFER is received for the IP addresskrw2021-03-311-1/+2
* Add two missing checks for strdup() returning NULL.krw2021-03-311-1/+5
* Fix some debug output when running in foreground.krw2021-03-311-4/+8
* Now that the real time and monotonic time streams don'tkrw2021-03-281-15/+15
* Convert remaining timers (lease renew, rebind, expiry) tokrw2021-03-281-52/+56
* More timespec conversions. Less 'seconds' arithmetic.krw2021-03-241-56/+73
* Nuke unused time_t variable.krw2021-03-161-5/+2
* Use timespec timers to determine when select-timeout and timeout intervalskrw2021-03-111-13/+32
* Replace time_t startup_time with struct timespec link_timeout.krw2021-03-091-8/+13
* Notice when link-timeout expires even if istty(STDERR) hints that dhclient haskrw2021-03-041-5/+5
* Eliminate redundant checks for expired leases in ifi->leasedb. Simplykrw2021-03-021-34/+31
* Move tick_msg(TICK_WAIT) calls after related log_debug()krw2021-02-281-5/+4
* Reduce non-debug output further by allowing up to the usual 3 secondkrw2021-02-281-2/+5
* Stop checking 'epoch' in get_recorded_lease() and just set it askrw2021-02-271-4/+1
* Disentangle log_debug() output from tick_msg() output.krw2021-02-271-44/+42
* Complete deleting ifi->active before calling write_lease_db().krw2021-02-241-3/+3
* No need to get time() twice. Just use the alreadykrw2021-02-241-2/+2
* No need to check ifi->active for NULL when looking for duplicate/obsoletekrw2021-02-241-3/+1
* Fix annoying typo in a comment.krw2021-02-241-2/+2
* Remove incomplete/incorrect connection with autoconf, clearing groundkrw2021-02-241-38/+2
* Switch reboot timing to timespec, the better to handle thekrw2021-02-221-5/+11
* Rename struct client_config fields 'timeout', 'link_timeout' andkrw2021-02-211-9/+9
* No need for state_preboot() to double check timeout beingkrw2021-02-211-13/+3
* tick_msg("lease", TICK_SUCCESS) in bind_lease() should *not* bekrw2021-02-201-2/+2
* Put duplicated code calculating backoff interval and packet 'secs'krw2021-02-191-115/+91
* Extraneous blank line.krw2021-02-151-2/+1
* Rework tick_msg() to make messages displayed during startup morekrw2021-02-151-45/+69
* dhclient(8): fork_privchld, take_charge, propose_release: poll(2) -> ppoll(2)cheloha2021-02-021-30/+33
* Simplify '-i' handling, failing immediately during command line parsingkrw2020-12-101-8/+20
* fatal() immediately whem parsing command line option '-c' reveals a non-existantkrw2020-12-061-17/+11
* Extract another couple of chunks from main() into helper functions,krw2020-12-011-33/+51
* Shuffle code relating to initializing the physical interface and thekrw2020-11-271-117/+150
* No need to update ifi->state just before setting quit to TERMINATE.krw2020-11-211-4/+2
* No need to update resolv.conf when renewing a lease does not result in anykrw2020-11-211-2/+1
* When REBOOT'ing it is necessary to apply_defaults() to the recordedkrw2020-11-211-3/+7
* The default lease rebind time is 7 * (expiry/8), not 8 * (expiry/7).krw2020-11-201-2/+2
* Avoid spurious resolv.conf updates whenkrw2020-11-191-3/+5
* Recognize get_link_ifa() failure (a.k.a. "invalid interface") as a fatal errorkrw2020-11-181-3/+5
* No need to call get_hw_address() from interface_state() since thekrw2020-11-181-3/+7
* Remove the -L option. A debugging tool that is no longer required.krw2020-11-061-76/+3
* Ensure DECLINE messages always contain the address from the OFFER.krw2020-07-311-6/+6
* A few stray 'ifa' overloadings.krw2020-05-281-4/+4
* Reduce 'ifa' overloading by renaming proposal field from 'ifa' tokrw2020-05-281-4/+4
* Wrap some overly long lines.krw2020-05-261-3/+7
* Nuke a superflous local array in release_lease().krw2020-05-261-4/+3
* Rename proposal{} fields rtstatic_len, rtsearch_len and rtdns_len tokrw2020-05-201-15/+15
* Replace fixed 128-byte fields for search domains, static routes andkrw2020-05-201-15/+14
* Shuffle and tweak code in lease_as_proposal() to allocate the proposalkrw2020-05-151-59/+55