Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support looking up ethernet addresses in /etc/ethers at dhcpd startup time. | 2020-04-16 | 1 | -5/+21 | |
| | | | | | If the lookup fails it falls back to parsing the ethernet address normally. ok krw@ | ||||
* | Bring parse_warn() into the log.[ch] 21st century and adopt the "^" | 2017-02-16 | 1 | -28/+13 | |
| | | | | placement logic from dhclient. | ||||
* | Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() and | 2017-02-13 | 1 | -39/+1 | |
| | | | | log_warn(). Zap a couple of explicit 'syslog()' calls. | ||||
* | Adjust some long lines. | 2017-02-13 | 1 | -2/+3 | |
| | |||||
* | Switch from old errwarn.c logging to shiny new log.[ch]. | 2017-02-13 | 1 | -20/+60 | |
| | | | | ok benno@ | ||||
* | Move parse_warning() into parse.c to prepare to replace errwarn.c | 2017-02-11 | 1 | -1/+53 | |
| | | | | | | with standard daemon log.[ch]. ok mpi@ | ||||
* | Pull in <time.h> for one or more of gmtime, strftime, strptime, time, | 2016-08-27 | 1 | -1/+2 | |
| | | | | | | timegm, and tzset ok deraadt@ | ||||
* | Eliminate #include inside *.h files and include only needed headers in | 2016-02-06 | 1 | -2/+15 | |
| | | | | | | | each *.c file. Inspired by mention of header silliness by Edgar Pettijohn and mmcc@ on tech@. | ||||
* | Actually use default-lease-time, max-lease-time, bootp-lease-length | 2015-12-11 | 1 | -1/+3 | |
| | | | | | | | specified in dhcpd.conf. Broken in -r1.18. Problem noted by Arne on bugs@, identical fix independently developed by Serguey Parkhomovsky. | ||||
* | Tweak parsing so that hostnames starting with 0-9 are accepted. | 2015-05-18 | 1 | -10/+11 | |
| | | | | | | Reported long ago by matthieu@. Also Jacob Berkman via the lists. Tests and suggestions from Jacob and Matthieu. | ||||
* | Two 'break;'s in a row seems excessive. | 2013-12-18 | 1 | -2/+1 | |
| | |||||
* | Stop pretending we still support FDDI or token ring hardware types. | 2013-12-05 | 1 | -6/+1 | |
| | | | | idea ok deraadt@ matthew@ | ||||
* | unsigned char cast for some ctype calls | 2013-11-22 | 1 | -2/+3 | |
| | | | | ok krw | ||||
* | Replace hand-rolled date printing/parsing code with strftime()/strptime(). | 2013-04-17 | 1 | -140/+47 | |
| | | | | | | | | | | | | | | Use timegm() because all the dates are in UTC and the 'standard' routines can't handle the truth. Remove some 'time_t is 32bits' assumptions. Print 'UTC' at the end of dates in the leases file, rather than mentioning that all dates are UTC in a comment at the top of the file. Feedback and suggestions from guenther@, kettenis@, otto@, tedu@, deraadt@. | ||||
* | malloc/strlcpy -> strdup. Use consistent idiom. | 2010-03-27 | 1 | -9/+7 | |
| | | | | ok (as part of larger diff) blambert@ kettenis@ stsp@ zinovik@ | ||||
* | Echo back the Relay Agent Information option if present (RFC 3046). | 2009-09-01 | 1 | -1/+4 | |
| | | | | | | | Also add support for the "ipsec-tunnel" hardware type as described in RFC 3456. ok henning@ krw@ (but needs more testing from others) | ||||
* | don't leak memory, from dhclient; ok krw@ | 2007-02-26 | 1 | -2/+4 | |
| | |||||
* | sync dhclient and dhcpd parse.c areas where we can. | 2006-11-22 | 1 | -19/+27 | |
| | | | | mainly formatting, whitespace; ok henning@ | ||||
* | fix some warning messages and comments in parse_date(); ok henning@ | 2006-11-22 | 1 | -5/+5 | |
| | |||||
* | cleanup keyword lookup for the lexer, and remove keywords not valid in | 2006-04-18 | 1 | -42/+42 | |
| | | | | either dhclient or dhcpd context; tested by many | ||||
* | avoid aliasing with libc functions; ok henning | 2004-09-16 | 1 | -8/+8 | |
| | |||||
* | remove things not used, spotted by lint mostly; ok henning | 2004-05-04 | 1 | -11/+1 | |
| | |||||
* | various knf; henning ok | 2004-04-18 | 1 | -41/+32 | |
| | |||||
* | knf + ansi | 2004-04-15 | 1 | -65/+55 | |
| | | | | ok henning@ | ||||
* | the ones from dhclient do, and they're already KNF'd and annsified... | 2004-04-14 | 1 | -296/+296 | |
| | |||||
* | time_t and kill a few dumb defines | 2004-04-13 | 1 | -14/+14 | |
| | |||||
* | may the whacking begin | 2004-04-13 | 1 | -0/+642 | |