summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
AgeCommit message (Expand)Author
2013-10-22Save 'next-server' (a.k.a. siaddr) info in leases file. Saving theKenneth R Westerback
2013-09-09Calculate the lease time fields (expiry, renew, rebind) afterKenneth R Westerback
2013-08-14Only skip address deleting/adding and route deleting/adding onFlorian Obser
2013-07-15If a DHCPREQUEST returns a lease identical to the one currently bound toKenneth R Westerback
2013-07-06Tone down verbosity by putting the "Unexpected <blah>" messages underKenneth R Westerback
2013-07-05Zap trailing whitespace.Kenneth R Westerback
2013-06-18Don't use inet_ntoa() twice in one parameter list. You'll just printKenneth R Westerback
2013-06-18Split RTM_NEWADDR and RTM_DELADDR handling into separate casesKenneth R Westerback
2013-06-17Check calloc() return value. Plug leak of resulting memory.Kenneth R Westerback
2013-06-09Make route adding interface more flexible by passing flags to beKenneth R Westerback
2013-06-09Fix/clarify some comments. do memset()'s only when variable is goingKenneth R Westerback
2013-06-09Re-apply static route and classless static route support -- this timeKenneth R Westerback
2013-06-09Re-apply route adding code refactoring -- it wasn't the problem thatKenneth R Westerback
2013-06-09Backout static/classless route handling and default route refactoringKenneth R Westerback
2013-06-04Add support for static routes option (33) and classless staticKenneth R Westerback
2013-06-01Refactor the default route adding code to use a general route addingKenneth R Westerback
2013-05-05Add a flag to struct client_state (IS_RESPONSIBLE) to record whenKenneth R Westerback
2013-05-02Bunch of comment/whitespace cleanup. Eliminate some misleading orKenneth R Westerback
2013-05-02Enough of the hand-rolling of queues. Turn client->leases andKenneth R Westerback
2013-04-27Use same parse_date() and date writing logic as in dhcpd. i.e.Kenneth R Westerback
2013-04-25big int_t/time_t fixes; ok deraadt@ krw@Otto Moerbeek
2013-03-30Since deleting all the addresses on an interface removes all theKenneth R Westerback
2013-03-22Ignore client-identifier option in leases from a server. They're not supposedKenneth R Westerback
2013-02-27Avoid alignment errors when processing routing messages by readingKenneth R Westerback
2013-02-24When no acceptable offers are received within the allowed timeframe callKenneth R Westerback
2013-02-19Cancel any outstanding protocol timeout when a link goes away. WhenKenneth R Westerback
2013-02-18Rework log messages to be more useful. RenameKenneth R Westerback
2013-02-17Suppress some pointless debugging message:Kenneth R Westerback
2013-02-17Put the processes in the routing domain of the interface. TweakKenneth R Westerback
2013-02-16Remove accidentally committed debug statement ("Got RTM_IFINFO").Kenneth R Westerback
2013-02-15Take more care to use the correct xid, rather than packet garbage.Kenneth R Westerback
2013-02-15Make code a tad less obscure by using sizeof() actual variable beingKenneth R Westerback
2013-02-15Even if no one uses it, record the seconds since we started in theKenneth R Westerback
2013-02-15Unbreak DISCOVER by initializing xid from correct field.Kenneth R Westerback
2013-02-14When an interface generates an RTM_IFINFO message, it may be as theKenneth R Westerback
2013-02-14Don't rely on the packet buffer (client->packet) being preserved betweenKenneth R Westerback
2013-02-13Restore previous behaviour of not cleaning up in response to SIGTERM.Kenneth R Westerback
2013-02-09As tedu@ pointed out a while ago, it makes little sense to discardKenneth R Westerback
2013-02-02Expunge unused variables and pointless construction of same inKenneth R Westerback
2013-02-02Fix resolv.conf magic. Add identifying comment to generated resolv.confKenneth R Westerback
2013-02-02Dereference correct pointer. Fix crash when checking whether resolv.confKenneth R Westerback
2013-02-01do not leak dn if there is no resolv.conf contents; found by llvmFlorian Obser
2013-02-01always initialize cur_time; found by llvmFlorian Obser
2013-02-01Increment size of buffer to accomodate terminating NUL *after* usingKenneth R Westerback
2013-02-01Handle a non-existant resolv.conf.tail without issuing an errorKenneth R Westerback
2013-02-01Write out resolv.conf only if the default route is under the controlKenneth R Westerback
2013-01-27Refactor code a bit. Calculate resolv.conf contents once when binding aKenneth R Westerback
2013-01-26Oops. Restore "no domain-name, no domain-name-seervers means don'tKenneth R Westerback
2013-01-26Read /etc/resolv.conf.tail once on startup and save contents forKenneth R Westerback
2013-01-22Whitespace nit. Better error messages.Kenneth R Westerback