Up to [local] / src / usr.sbin / dhcpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 16 21:20:25 2022 UTC (2 years, 4 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
HEAD
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)
dhcpd: fix -Wunused-but-set-variable warning ok krw@
Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 16 23:23:21 2020 UTC (4 years, 1 month ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.26: +21 -5 lines
Diff to previous 1.26 (colored)
Support looking up ethernet addresses in /etc/ethers at dhcpd startup time. If the lookup fails it falls back to parsing the ethernet address normally. ok krw@
Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 16 00:24:43 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.25: +13 -28 lines
Diff to previous 1.25 (colored)
Bring parse_warn() into the log.[ch] 21st century and adopt the "^" placement logic from dhclient.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Feb 13 23:04:05 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
Changes since 1.24: +1 -39 lines
Diff to previous 1.24 (colored)
Eliminate pointless'%m' (a.k.a. hand rolled strerror()) by using fatal() and log_warn(). Zap a couple of explicit 'syslog()' calls.
Revision 1.24 / (download) - annotate - [select for diffs], Mon Feb 13 22:33:39 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)
Adjust some long lines.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 13 19:13:14 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
Changes since 1.22: +60 -20 lines
Diff to previous 1.22 (colored)
Switch from old errwarn.c logging to shiny new log.[ch]. ok benno@
Revision 1.22 / (download) - annotate - [select for diffs], Sat Feb 11 16:12:36 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
Changes since 1.21: +53 -1 lines
Diff to previous 1.21 (colored)
Move parse_warning() into parse.c to prepare to replace errwarn.c with standard daemon log.[ch]. ok mpi@
Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 27 01:26:22 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)
Pull in <time.h> for one or more of gmtime, strftime, strptime, time, timegm, and tzset ok deraadt@
Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 6 23:50:10 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.19: +15 -2 lines
Diff to previous 1.19 (colored)
Eliminate #include inside *.h files and include only needed headers in each *.c file. Inspired by mention of header silliness by Edgar Pettijohn and mmcc@ on tech@.
Revision 1.19 / (download) - annotate - [select for diffs], Fri Dec 11 14:09:48 2015 UTC (8 years, 6 months ago) by krw
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored)
Actually use default-lease-time, max-lease-time, bootp-lease-length specified in dhcpd.conf. Broken in -r1.18. Problem noted by Arne on bugs@, identical fix independently developed by Serguey Parkhomovsky.
Revision 1.18 / (download) - annotate - [select for diffs], Mon May 18 17:51:21 2015 UTC (9 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.17: +11 -10 lines
Diff to previous 1.17 (colored)
Tweak parsing so that hostnames starting with 0-9 are accepted. Reported long ago by matthieu@. Also Jacob Berkman via the lists. Tests and suggestions from Jacob and Matthieu.
Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 18 20:37:04 2013 UTC (10 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)
Two 'break;'s in a row seems excessive.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 5 22:31:35 2013 UTC (10 years, 6 months ago) by krw
Branch: MAIN
Changes since 1.15: +1 -6 lines
Diff to previous 1.15 (colored)
Stop pretending we still support FDDI or token ring hardware types. idea ok deraadt@ matthew@
Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 22 04:47:40 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)
unsigned char cast for some ctype calls ok krw
Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 17 19:26:10 2013 UTC (11 years, 1 month ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.13: +47 -140 lines
Diff to previous 1.13 (colored)
Replace hand-rolled date printing/parsing code with strftime()/strptime(). 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@.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 27 14:11:38 2010 UTC (14 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.12: +7 -9 lines
Diff to previous 1.12 (colored)
malloc/strlcpy -> strdup. Use consistent idiom. ok (as part of larger diff) blambert@ kettenis@ stsp@ zinovik@
Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 1 08:42:31 2009 UTC (14 years, 9 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)
Echo back the Relay Agent Information option if present (RFC 3046). Also add support for the "ipsec-tunnel" hardware type as described in RFC 3456. ok henning@ krw@ (but needs more testing from others)
Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 26 00:49:53 2007 UTC (17 years, 3 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)
don't leak memory, from dhclient; ok krw@
Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 22 21:35:56 2006 UTC (17 years, 6 months ago) by stevesk
Branch: MAIN
Changes since 1.9: +27 -19 lines
Diff to previous 1.9 (colored)
sync dhclient and dhcpd parse.c areas where we can. mainly formatting, whitespace; ok henning@
Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 22 18:07:52 2006 UTC (17 years, 6 months ago) by stevesk
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)
fix some warning messages and comments in parse_date(); ok henning@
Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 18 19:18:32 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.7: +42 -42 lines
Diff to previous 1.7 (colored)
cleanup keyword lookup for the lexer, and remove keywords not valid in either dhclient or dhcpd context; tested by many
Revision 1.7 / (download) - annotate - [select for diffs], Thu Sep 16 18:35:43 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.6: +8 -8 lines
Diff to previous 1.6 (colored)
avoid aliasing with libc functions; ok henning
Revision 1.6 / (download) - annotate - [select for diffs], Tue May 4 20:28:40 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.5: +1 -11 lines
Diff to previous 1.5 (colored)
remove things not used, spotted by lint mostly; ok henning
Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 18 00:43:27 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.4: +32 -41 lines
Diff to previous 1.4 (colored)
various knf; henning ok
Revision 1.4 / (download) - annotate - [select for diffs], Thu Apr 15 22:22:21 2004 UTC (20 years, 1 month ago) by hshoexer
Branch: MAIN
Changes since 1.3: +55 -65 lines
Diff to previous 1.3 (colored)
knf + ansi ok henning@
Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 14 01:27:49 2004 UTC (20 years, 2 months ago) by henning
Branch: MAIN
Changes since 1.2: +298 -298 lines
Diff to previous 1.2 (colored)
the ones from dhclient do, and they're already KNF'd and annsified...
Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 13 23:57:49 2004 UTC (20 years, 2 months ago) by henning
Branch: MAIN
Changes since 1.1: +14 -14 lines
Diff to previous 1.1 (colored)
time_t and kill a few dumb defines
Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 13 23:41:49 2004 UTC (20 years, 2 months ago) by henning
Branch: MAIN
may the whacking begin