summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/clparse.c
Commit message (Collapse)AuthorAgeFilesLines
* In sbin/dhclient, since we know the size of the source strings anyway,dim2011-12-171-1/+1
| | | | | | we might as well use memcpy; strlcpy is really unnecessary here. MFC after: 1 week
* In sbin/dhclient, work around warnings about the size argument todim2011-12-171-2/+4
| | | | | | | strlcpy appearing to be the size of the source buffer, instead of the destination. MFC after: 1 week
* Support domain-search in dhclient(8)dumbbell2011-12-041-0/+2
| | | | | | | | | | | | | | | | | | | | | The "domain-search" option (option 119) allows a DHCP server to publish a list of implicit domain suffixes used during name lookup. This option is described in RFC 3397. For instance, if the domain-search option says: ".example.org .example.com" and one wants to resolve "foobar", the resolver will try: 1. "foobar.example.org" 2. "foobar.example.com" The file /etc/resolv.conf is updated with a "search" directive if the DHCP server provides "domain-search". A regression test suite is included in this patch under tools/regression/sbin/dhclient. PR: bin/151940 Sponsored by Yakaz (http://www.yakaz.com)
* Implement RFC3442, the Classless Static Route option.emaste2007-02-091-0/+2
| | | | | | | | | | | The original DHCP specification includes a route option but it supports only class-based routes. RFC3442 adds support for specifying the netmask width for each static route. A variable length encoding is used to minimize the size of this option. PR: bin/99534 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru> Reviewed by: brooks
* Add __FBSDID to all .c files in dhclient to aid in determining filebrooks2005-08-231-0/+3
| | | | versions when dealing with user problems.
* Import the OpenBSD dhclient as shipped with OpenBSD-3.7 (the tagbrooks2005-06-071-0/+938
OPENBSD_3_7).
OpenPOWER on IntegriCloud