summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/tables.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Switch domain-search parsing from hand rolled hex string tokrw2019-05-081-3/+6
| | | | | | | | human readable list of strings. Slightly tweaked version of a diff from William Ahern via tech@. Long silence on all fronts leads to community based testing.
* Switch from old errwarn.c logging to shiny new log.[ch].krw2017-02-131-2/+3
| | | | ok benno@
* Eliminate #include inside *.h files and include only needed headers inkrw2016-02-061-1/+12
| | | | | | | each *.c file. Inspired by mention of header silliness by Edgar Pettijohn and mmcc@ on tech@.
* Do not send routers (option 3) or static routes (option 33) whenkrw2015-06-271-3/+5
| | | | | | | | | | | | | | classless static routes (option 121, 249) are sent. RFC 3442 says servers SHOULD NOT send those options. This avoids confusing clients who fail to ignore the routers or static routes options in the presence of classless static routes options. RFC 3442 says clients MUST ignore those options. Incorrect behavior in MS and Linux clients reported by Juan on misc@. ok millert@
* Add parsing for options 121 (classless-static-routes) and 249krw2014-01-211-3/+3
| | | | | | | | (classless-ms-static-routes). dhcpd can now specify and serve these options and dhclient can recognize and use supersede, etc. statements on them. Based on a diff from Stefan Rinke. Thanks!
* Echo back the Relay Agent Information option if present (RFC 3046).reyk2009-09-011-4/+5
| | | | | | | Also add support for the "ipsec-tunnel" hardware type as described in RFC 3456. ok henning@ krw@ (but needs more testing from others)
* add option 150, voip-configuration-server, as an array of IP addresses;sthen2009-01-131-2/+2
| | | | | | draft-raj-dhc-tftp-addr-option-05, req by Michael van der Westhuizen. ok henning, krw, dlg
* option 144 is commonly used for tftp-config-file.dlg2008-04-041-2/+2
| | | | ok henning@ krw@
* option 252 is generally used to specify an autoproxy-script on a subnet.dlg2008-03-171-2/+2
| | | | ok krw@ henning@
* More tweaking of option processing, this time around the creation ofkrw2007-10-291-6/+9
| | | | | | | | | | the priority list. Add create_priority_list() and use it to consistantly merge mandatory, supplied and default option priority lists into a reliable and complete list of options sorted by priority. No intended functional change other than ensuring all options available are returned. "looks good" henning@ "OK, fair enough" millert@
* Remove duplicate DHO_HOST_NAME entry and add missingkrw2007-10-281-18/+22
| | | | | | DHO_DHCP_USER_CLASS_ID entry to dhcp_option_default_priority_list[]. Reformat list of numbers at the end of dhcp_option_default_priority_list[] so it is easy to see which options are defined. No functional change.
* various knf; henning okderaadt2004-04-181-2/+1
|
* the ones from dhclient do, and they're already KNF'd and annsified...henning2004-04-141-35/+40
|
* may the whacking beginhenning2004-04-131-0/+687