aboutsummaryrefslogtreecommitdiff
path: root/sbin/dhclient/errwarn.c
Commit message (Collapse)AuthorAgeFilesLines
* dhclient: raise WARNS to 4Alan Somers2018-02-211-8/+8
| | | | | | | | | | | | | | | | Mostly const-correctness fixes. There were also some variable-shadowing, unused variable, and a couple of sockaddr type-correctness changes. I also had trouble with cast-align warnings. I was able to prove that one of them was a false positive. But ultimately I had to disable the warning program-wide to deal with the others. Reviewed by: cem MFC after: 3 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D14460 Notes: svn path=/head/; revision=329754
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* Use syslog service in dhclient(8).Mariusz Zaborski2017-11-121-8/+8
| | | | | | | | | | | | | dhclient(8) is failing during boot to connect to the syslog service, because syslog daemon is started after dhclient(8). This can be reproduced by stooping syslog daemon and ktrace the dhclient or use kern.trap_enotcap sysctl and boot the machine. Using the Casper syslog service fix the problem. Reviewed by: bapt@ Differential Revision: https://reviews.freebsd.org/D12825 Notes: svn path=/head/; revision=325740
* Make dhclient use a pid file. Modify the rc script accordingly; whileDag-Erling Smørgrav2011-10-131-0/+2
| | | | | | | | | | there, clean it up and add some error checks. Glanced at by: brooks@ MFC after: 3 weeks Notes: svn path=/head/; revision=226345
* Add __FBSDID to all .c files in dhclient to aid in determining fileBrooks Davis2005-08-231-0/+3
| | | | | | | versions when dealing with user problems. Notes: svn path=/head/; revision=149399
* Import the OpenBSD dhclient as shipped with OpenBSD-3.7 (the tagBrooks Davis2005-06-071-0/+234
OPENBSD_3_7). Notes: svn path=/vendor/OpenBSD/dist/; revision=147072