/[pkgs]/devel/dhcp/dhcp-4.1.0-default-requested-options.patch
ViewVC logotype

Contents of /devel/dhcp/dhcp-4.1.0-default-requested-options.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Jan 6 23:46:50 2009 UTC (10 months, 2 weeks ago) by dcantrel
Branch: MAIN
CVS Tags: F-12-split, dhcp-4_1_0-3_fc11, dhcp-4_1_0-2_fc11, dhcp-4_1_0-22_fc12, dhcp-4_1_0-1_fc11, dhcp-4_1_0-20_fc12, dhcp-4_1_0p1-5_fc12, dhcp-4_1_0-16_fc11, dhcp-4_1_0p1-13_fc13, dhcp-4_1_0-11_fc11, dhcp-4_1_0p1-11_fc12, dhcp-4_1_0-10_fc11, dhcp-4_1_0-15_fc11, dhcp-4_1_0-12_fc11, dhcp-4_1_0-14_fc11, F-11-split, dhcp-4_1_0p1-6_fc12, dhcp-4_1_0p1-7_fc12, dhcp-4_1_0p1-8_fc12, dhcp-4_1_0-4_fc11, dhcp-4_1_0p1-4_fc12, dhcp-4_1_0-13_fc11, dhcp-4_1_0-18_fc12, dhcp-4_1_0p1-14_fc13, dhcp-4_1_0-23_fc12, dhcp-4_1_0-6_fc11, dhcp-4_1_0-17_fc12, dhcp-4_1_0-19_fc12, dhcp-4_1_0p1-1_fc12, dhcp-4_1_0p1-3_fc12, dhcp-4_1_0p1-9_fc12, dhcp-4_1_0-9_fc11, dhcp-4_1_0p1-12_fc13, dhcp-4_1_0-26_fc12, dhcp-4_1_0p1-10_fc12, dhcp-4_1_0-8_fc11, dhcp-4_1_0-5_fc11, dhcp-4_1_0-25_fc12, dhcp-4_1_0-24_fc12, dhcp-4_1_0-7_fc11, dhcp-4_1_0-27_fc12, dhcp-4_1_0-21_fc12, dhcp-4_1_0p1-2_fc12, HEAD
File MIME type: text/x-patch
* Tue Jan 06 2009 David Cantrell <dcantrell@redhat.com> - 12:4.1.0-1
- Upgraded to ISC dhcp-4.1.0
- Had to rename the -T option to -timeout as ISC is now using -T
- Allow package rebuilders to easily enable DHCPv6 support with:
      rpmbuild --with DHCPv6 dhcp.spec
  Note that Fedora is still using the 'dhcpv6' package, but some
  users may want to experiment with the ISC DHCPv6 implementation
  locally.
1 diff -up dhcp-4.1.0/client/clparse.c.requested dhcp-4.1.0/client/clparse.c
2 --- dhcp-4.1.0/client/clparse.c.requested 2009-01-06 10:40:46.000000000 -1000
3 +++ dhcp-4.1.0/client/clparse.c 2009-01-06 10:40:47.000000000 -1000
4 @@ -37,7 +37,7 @@
5
6 struct client_config top_level_config;
7
8 -#define NUM_DEFAULT_REQUESTED_OPTS 9
9 +#define NUM_DEFAULT_REQUESTED_OPTS 12
10 struct option *default_requested_options[NUM_DEFAULT_REQUESTED_OPTS + 1];
11
12 static void parse_client_default_duid(struct parse *cfile);
13 @@ -111,6 +111,21 @@ isc_result_t read_client_conf ()
14 option_code_hash_lookup(&default_requested_options[8],
15 dhcpv6_universe.code_hash, &code, 0, MDL);
16
17 + /* 10 */
18 + code = DHO_NIS_DOMAIN;
19 + option_code_hash_lookup(&default_requested_options[9],
20 + dhcp_universe.code_hash, &code, 0, MDL);
21 +
22 + /* 11 */
23 + code = DHO_NIS_SERVERS;
24 + option_code_hash_lookup(&default_requested_options[10],
25 + dhcp_universe.code_hash, &code, 0, MDL);
26 +
27 + /* 12 */
28 + code = DHO_NTP_SERVERS;
29 + option_code_hash_lookup(&default_requested_options[11],
30 + dhcp_universe.code_hash, &code, 0, MDL);
31 +
32 for (code = 0 ; code < NUM_DEFAULT_REQUESTED_OPTS ; code++) {
33 if (default_requested_options[code] == NULL)
34 log_fatal("Unable to find option definition for "

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2