summaryrefslogtreecommitdiff
path: root/sbin/dhclient
AgeCommit message (Expand)Author
2018-02-08Don't update first_sending in state_selecting() and thusKenneth R Westerback
2018-02-07Keep track of the last proposal used to configure the interface andKenneth R Westerback
2018-02-06Abstract "no link ..." and "no lease ..." message generationKenneth R Westerback
2018-02-06Nuke unused state S_REBINDING. We just use the timeKenneth R Westerback
2018-02-06When binding a lease from the dhclient.leasees.<if> file andKenneth R Westerback
2018-02-06Fix fprintf() to include "\n" where needed. Prefix "no lease"Kenneth R Westerback
2018-02-06Flip -q (be quiet) into -v (be noisy), making terseness the defaultKenneth R Westerback
2018-02-05Ensure that the "bound to ..." message appears in the log unlessKenneth R Westerback
2018-02-05Always run through state_preboot() when starting up or theKenneth R Westerback
2018-02-05Nuke unused parameter to go_daemon().Kenneth R Westerback
2018-01-30Expand "bound to ..." message to include the source of the lease,Kenneth R Westerback
2018-01-29Repair botched retry loop when generating RTM_PROPOSALKenneth R Westerback
2018-01-29Missed a couple of log_info()'s in previous commit. Use #ifdef DEBUGKenneth R Westerback
2018-01-29Use log_init(), log_setverbose() and log_debug() moreKenneth R Westerback
2018-01-28Refactor and simplify the logic to select and invoke theKenneth R Westerback
2018-01-28A few fatal() -> fatalx() where errno is notKenneth R Westerback
2018-01-25Add DPRINTF() and use it to replace log_debug() statements insideKenneth R Westerback
2018-01-24Don't display the seconds until renewal. i.e. "em0: bound to 1.2.3.4Kenneth R Westerback
2018-01-05Complete and fix grammar in comments and bring grammar terms,Kenneth R Westerback
2018-01-04Compact some whitespace, unsplit now shorter lines.Kenneth R Westerback
2018-01-04Comments and grammar use '_decl' so use _decl instead of _declarationKenneth R Westerback
2018-01-04parse_lease_time() is an unnecessary abstraction. Just useKenneth R Westerback
2018-01-04We only parse decimal numbers, so parse_decimal() -> parse_number() toKenneth R Westerback
2018-01-02More grammar comments improvements.Kenneth R Westerback
2018-01-01Tweak syntax comments into consistency and completeness.Kenneth R Westerback
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-17Further simplifY lease parsing. Fold add_lease() into read_lease_db(),Kenneth R Westerback
2017-12-16With leases no longer in dhclient.conf, rename a bunch ofKenneth R Westerback
2017-12-13Fix whitespace botch that snuck in.Kenneth R Westerback
2017-12-13Simplifiy parser by not worrying about nesting 'interface <if> {}'Kenneth 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-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