OpenBSD CVS

CVS log for src/sbin/dhclient/Attic/tables.c


[BACK] Up to [local] / src / sbin / dhclient

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22, Thu Oct 5 14:33:49 2017 UTC (6 years, 8 months ago) by krw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -1 lines
FILE REMOVED

tables.c was unhooked from the build a while ago.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 7 16:58:45 2017 UTC (6 years, 11 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Replace the many occurances of '256' with a new #define
DHO_COUNT.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 6 19:30:52 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.19: +13 -1 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], Mon Oct 26 16:32:33 2015 UTC (8 years, 7 months ago) by krw
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Give dhclient(8) the ability to use option 119, a.k.a. "Domain
Search" if supplied by the server.

Requested by a few. Original diff from Ray Lai via tech@.

Tested & ok claudio@

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 21 03:07:50 2014 UTC (10 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.17: +4 -3 lines
Diff to previous 1.17 (colored)

Add parsing for options 121 (classless-static-routes) and 249
(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!

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 19 21:10:04 2014 UTC (10 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored)

We don't have any (and I can't find elsewhere) signed 16 bit or
signed 8 bit dhcp option types. So nuke getShort() and all 's' and
'b' format support. While here use '%u'/'%lu' and not
'%d'/'%ld' to snprintf() unsigned values.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 9 16:21:50 2013 UTC (11 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Re-apply static route and classless static route support -- this time
passing the correct destination for the default route, '0.0.0.0', rather
than the new lease address.

Populating egress group works this time.

Problem found the hard way by Chris Smith.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 9 00:30:06 2013 UTC (11 years ago) by krw
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Backout static/classless route handling and default route refactoring
since the former relies on the latter and the latter breaks 'egress'
group populating.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 4 21:04:53 2013 UTC (11 years ago) by krw
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Add support for static routes option (33) and classless static
routes option (121).

ok sthen@

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 2 16:35:27 2013 UTC (11 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Bunch of comment/whitespace cleanup. Eliminate some misleading or
pointless ones, make multiline comments readable, nuke '...' in
favour of '.', etc.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 2 14:47:40 2013 UTC (11 years, 5 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Sync dhcpd and dhclient list of dhcp options. There's only one
dhcp-options(5) so lists of defined option names should be the
same. In this case add relay-agent-information, tftp-config-file,
voip-configuration-server and autoproxy-script option names.

Prompted by a man page update from Marcus Merighi via tech@.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jul 16 16:31:46 2005 UTC (18 years, 10 months ago) by henning
Branch: MAIN
CVS Tags: 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, OPENBSD_4_7_BASE, OPENBSD_4_7, 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, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

fix printing of hostname, from brooks davis via jmc

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 16 14:09:51 2005 UTC (18 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.9: +258 -258 lines
Diff to previous 1.9 (colored)

Eliminate unnecessary 'code' field from struct option. Make
dhcp_options const.

ok henning@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 13 23:25:55 2005 UTC (18 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.8: +1 -88 lines
Diff to previous 1.8 (colored)

Repair/rationalize option handling to ensure valid option section is
always sent. Fold store_options into cons_options. Eliminate priority
list of options.

ok deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 11 18:09:09 2005 UTC (18 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.7: +1 -18 lines
Diff to previous 1.7 (colored)

Expunge unused hashing code and variables.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 9 14:36:16 2005 UTC (18 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

Clean out a few more unused/uninitialized variables.

ok henning@

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jul 9 01:06:00 2005 UTC (18 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.5: +258 -264 lines
Diff to previous 1.5 (colored)

Since we never add more than the default dhcp_universe, expunge the
code to handle mulitple 'vendor' universes. Don't bother with a
specific error message about 'vendor'. An unsupported option is an
unsupported option, and a '.' in an option name is a syntax error.

ok henning@

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 8 14:15:23 2005 UTC (18 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.4: +6 -5 lines
Diff to previous 1.4 (colored)

More dead and moribund code removal/cleanup. This time unused parameters
and associated code for store_options().

ok henning@

Revision 1.4 / (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_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.3: +1 -263 lines
Diff to previous 1.3 (colored)

remove things not used, spotted by lint mostly; ok henning

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 7 13:26:35 2004 UTC (20 years, 4 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.2: +39 -34 lines
Diff to previous 1.2 (colored)

more KNF From: Emil Mikulic <emikulic@dmr.ath.cx>
great job.
no binary change.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 4 12:16:56 2004 UTC (20 years, 4 months ago) by henning
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

$OpenBSD$, tedu

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 18 01:26:20 2004 UTC (20 years, 4 months ago) by deraadt
Branch: MAIN

this is where dhclient will start surgery

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.