summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
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
2020-05-26Wrap some overly long lines.Kenneth R Westerback
2020-05-26Nuke a superflous local array in release_lease().Kenneth R Westerback
2020-05-21Rename various parameters and variables to eliminate misleadingKenneth R Westerback
2020-05-21extract_classless_route() -> extract_route() as there is only the one routeKenneth R Westerback
2020-05-21Rename route_in_rtstatic() to route_pos() to more clearly reflect itsKenneth R Westerback
2020-05-20Remove no longer necessary RTLEN.Kenneth R Westerback
2020-05-20Fix typo in comment.Kenneth R Westerback
2020-05-20Rename proposal{} fields rtstatic_len, rtsearch_len and rtdns_len toKenneth R Westerback
2020-05-20Replace fixed 128-byte fields for search domains, static routes andKenneth R Westerback
2020-05-19Eliminate imsg_propose{}, imsg_revoke{} and imsg_tell_unwind{} asKenneth R Westerback
2020-05-15Shuffle and tweak code in lease_as_proposal() to allocate the proposalKenneth R Westerback
2020-05-15Fix domain-search option processing. Testing one value and then usingKenneth R Westerback
2020-05-15Be more careful in extracting the uint16_t value of interface-mtu, andKenneth R Westerback
2020-05-14Massage merge_option_data() to be more careful when dealing with 'D'Kenneth R Westerback
2020-05-13Repair 'domain-search' parsing broken in r1.191.Kenneth R Westerback
2020-05-13We don't count a terminating NUL in the length of option data.Kenneth R Westerback
2020-05-13Nuke a variable that is always set to 0.Kenneth R Westerback
2020-05-13No need to memcpy() into a string created by strdup().Kenneth R Westerback
2020-05-09Shuffle and clarify logic creating the contents of resolv.conf.Kenneth R Westerback
2020-05-08Nuke unneeded 'inits' field in struct proposal. 'mtu' being 0 is enough of a ...Kenneth R Westerback
2020-05-08Nuke 'set but never used' addrs field in struct proposal.Kenneth R Westerback
2020-04-27If the DHCP server disappears between OFFER'ing and ACK'ing a lease,Kenneth R Westerback
2020-04-26Tighten up NAK handling. Inform unwind when the active lease isKenneth R Westerback
2020-04-24Stray whitespace.Kenneth R Westerback
2020-04-21Send broadcast packets to INADDR_BROADCAST, not INADDR_ANY.Kenneth R Westerback
2020-04-09No need to check for NULL before free().Kenneth R Westerback
2020-02-10briefly mention /etc/examples/ in the FILES section of all theIngo Schwarze
2020-02-02Tweak dhclient(8) timing defaults depending on SMALL rather than usingKenneth R Westerback
2020-01-26Don't validate '-c' with S_ISREG(). The install script uses /dev/stdin.Kenneth R Westerback