summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2017-12-07adjust the "timeout" text, now that leases are no longerJason McIntyre
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-09tweak previous;Jason McIntyre
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-06Add format 't' to parse_decimal() for signed 64-bitKenneth 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-23Use 'for (;;)' instead of a mix of "while (1) {}" andKenneth R Westerback
2017-10-23Use same parse_warn() verbiage in parse_lease_time() as thatKenneth R Westerback
2017-10-23Enforce dhclient.conf prohibitions on nesting 'interface'Kenneth R Westerback
2017-10-21Last but not least, bring parse_interface_declaration()Kenneth R Westerback
2017-10-21Whitespace.Kenneth R Westerback
2017-10-21Bring parse_client_lease_statement() into the new world byKenneth R Westerback
2017-10-20prev_line and cur_line can be static.Kenneth R Westerback
2017-10-20Split eol() from get_char() so that token assmebly that isKenneth R Westerback
2017-10-20Flense dhclient.conf.5 down to useful information. MoveKenneth R Westerback
2017-10-19Nuke special case for '\n' in skip_to_semi() andKenneth R Westerback
2017-10-16Sort & update syntax comments to match code. SortKenneth R Westerback
2017-10-16Bring parse_reject_statement() into line byKenneth R Westerback
2017-10-14Whitespace fix.Kenneth R Westerback
2017-10-14Refactor parsing of hex sequences. Rename parse_X()Kenneth R Westerback
2017-10-14Tweak parse_option_list() to return 0/1 to indicate success,Kenneth R Westerback
2017-10-13Tweak parse_option_decl() to return 0/1 to indicate success,Kenneth R Westerback
2017-10-12Don't leak string that overflows the option data buffer.Kenneth R Westerback
2017-10-12Stop leaks of SSID strings. Whitespace fix.Kenneth R Westerback
2017-10-12Make parse_string() toe the new line by returningKenneth R Westerback
2017-10-11Works better when both files in a diff areKenneth R Westerback
2017-10-11Eliminate unneeded intermediate variable. FixKenneth R Westerback
2017-10-11Tweak parse_date() again, this time to factorKenneth R Westerback
2017-10-11Tweak parse_decimal() and its invocations to emit aKenneth R Westerback
2017-10-11Repair printing of classless-static-routes to leasesKenneth R Westerback