summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2017-12-20Always 'send' host-name, rather than relying on dhclient.conf to askKenneth R Westerback
2017-12-18Stop inserting and paying attention to 'interface <if>;'Kenneth R Westerback
2017-12-16With leases no longer in dhclient.conf, rename a bunch ofKenneth R Westerback
2017-12-09Add ACTION_IGNORE and nuke ignored_options, ignored_option_count fieldsKenneth R Westerback
2017-12-08When accepting a BOOTP lease, do not leak offered values of leaseKenneth R Westerback
2017-12-07Set ifi->offer to NULL after free'ing it.Kenneth R Westerback
2017-12-07Nuke support for defining last-gasp leases in dhclient.conf.Kenneth R Westerback
2017-12-06Disentangle dhclient.conf static lease handling from dynamicKenneth R Westerback
2017-12-05When removing duplicate dynamic leases from the cache, compare theKenneth R Westerback
2017-12-04change "if (lp &&" to "if lp != NULL &&".Theo Buehler
2017-12-04Avoid a NULL-deref in get_recorded_lease() leading to a segfault seenTheo Buehler
2017-12-03Move timer fields 'expiry" and "rebind" out of struct client_leaseKenneth R Westerback
2017-12-03Abandon nagging about "_" violating RFC 952. This removes the needKenneth R Westerback
2017-11-27Simplify lease_as_string() logic to use a single time_t variableKenneth R Westerback
2017-11-27Fix pasto so lease_rebind() returns rebind value and notKenneth R Westerback
2017-11-26Move rebind time calculation to a function lease_rebind(), just likeKenneth R Westerback
2017-11-24Remove 'renewal' field from struct client_lease. Add lease_renewal() toKenneth R Westerback
2017-11-23Fix use of lease_expiry() in set_lease_times(). lease_expiry() returnsKenneth R Westerback
2017-11-20Wnen purging dhclient.leases and when looking for unexpired offers toKenneth R Westerback
2017-11-18Generate correct time comments (renewal/rebind/expiry) inKenneth R Westerback
2017-11-14Treat invalid server name as empty instead of declining the lease offeredMartin Pieuchot
2017-11-12Clone epoch value in clone_lease(), not manually.Kenneth R Westerback
2017-11-09Use lease 'epoch' (time lease was acquired) to calculate timers forKenneth R Westerback
2017-11-06Add lease declaration 'epoch' to hold the time() when a lease isKenneth R Westerback
2017-11-04Decline duplicate offers for the requested address, as areKenneth R Westerback
2017-10-30Fix '-L' file handling. Mixing idioms in previous cleanups ended upKenneth R Westerback
2017-10-27zap a bad space in usage(): sorry ken for not spotting!Jason McIntyre
2017-10-27Add '-n' option to just parse dhclient.conf for errors.Kenneth R Westerback
2017-10-23Enforce dhclient.conf prohibitions on nesting 'interface'Kenneth R Westerback
2017-09-28Correct the timeout used when select-timeout isKenneth R Westerback
2017-09-22Remove the '-u' command line option toKenneth R Westerback
2017-09-21Shorten and otherwise tweak the verbiageKenneth R Westerback
2017-09-21Fix '-u' option (reject offers that include unknownKenneth R Westerback
2017-09-20Fix some spacing. A couple of log_warx() -> log_warn() toKenneth R Westerback
2017-09-20Tweak, shorten, use more consistant verbiage.Kenneth R Westerback
2017-09-20Make log messages more informative by using theKenneth R Westerback
2017-09-20Wrong captilization, long lines.Kenneth R Westerback
2017-09-20Make send_packet() log entries more informative byKenneth R Westerback
2017-09-20Nuke a few extraneous blanks.Kenneth R Westerback
2017-09-19Make send_packet() usage consistent. i.e. don't exitKenneth R Westerback
2017-09-18Missed a log_warnx(). Nuke an extraneous space.Kenneth R Westerback
2017-09-17Create global 'log_procname' and set it to '<ifname>' orKenneth R Westerback
2017-09-15Move/add log_procinit() and setproctitle() calls so they reliably workKenneth R Westerback
2017-09-14Strive to rationalize fatal[x]() usage andKenneth R Westerback
2017-09-05Unbind (a.k.a. delete) interface address and thus routes when a NAK isKenneth R Westerback
2017-09-01Two stray "if (p)" -> "if (p != NULL)" andKenneth R Westerback
2017-08-30Refactor interface_status() to call freeifaddrs()Kenneth R Westerback
2017-08-26Make log_debug() more likely to do something byKenneth R Westerback
2017-08-23typo in error messageJeremie Courreges-Anglas
2017-08-14Try for consistency in sizeof() usage.Kenneth R Westerback