Blame SOURCES/dhcp-4.2.0-default-requested-options.patch

c8bb8f
diff -up dhcp-4.2.0/client/clparse.c.requested dhcp-4.2.0/client/clparse.c
c8bb8f
--- dhcp-4.2.0/client/clparse.c.requested	2010-07-21 13:29:05.000000000 +0200
c8bb8f
+++ dhcp-4.2.0/client/clparse.c	2010-07-21 13:50:29.000000000 +0200
c8bb8f
@@ -37,7 +37,7 @@
c8bb8f
 
c8bb8f
 struct client_config top_level_config;
c8bb8f
 
c8bb8f
-#define NUM_DEFAULT_REQUESTED_OPTS	9
c8bb8f
+#define NUM_DEFAULT_REQUESTED_OPTS	14
c8bb8f
 struct option *default_requested_options[NUM_DEFAULT_REQUESTED_OPTS + 1];
c8bb8f
 
c8bb8f
 static void parse_client_default_duid(struct parse *cfile);
c8bb8f
@@ -111,6 +111,31 @@ isc_result_t read_client_conf ()
c8bb8f
 	option_code_hash_lookup(&default_requested_options[8],
c8bb8f
 				dhcpv6_universe.code_hash, &code, 0, MDL);
c8bb8f
 
c8bb8f
+	/* 10 */
c8bb8f
+	code = DHO_NIS_DOMAIN;
c8bb8f
+	option_code_hash_lookup(&default_requested_options[9],
c8bb8f
+				dhcp_universe.code_hash, &code, 0, MDL);
c8bb8f
+
c8bb8f
+	/* 11 */
c8bb8f
+	code = DHO_NIS_SERVERS;
c8bb8f
+	option_code_hash_lookup(&default_requested_options[10],
c8bb8f
+				dhcp_universe.code_hash, &code, 0, MDL);
c8bb8f
+
c8bb8f
+	/* 12 */
c8bb8f
+	code = DHO_NTP_SERVERS;
c8bb8f
+	option_code_hash_lookup(&default_requested_options[11],
c8bb8f
+				dhcp_universe.code_hash, &code, 0, MDL);
c8bb8f
+
c8bb8f
+	/* 13 */
c8bb8f
+	code = DHO_INTERFACE_MTU;
c8bb8f
+	option_code_hash_lookup(&default_requested_options[12],
c8bb8f
+				dhcp_universe.code_hash, &code, 0, MDL);
c8bb8f
+
c8bb8f
+	/* 14 */
c8bb8f
+	code = DHO_DOMAIN_SEARCH;
c8bb8f
+	option_code_hash_lookup(&default_requested_options[13],
c8bb8f
+				dhcp_universe.code_hash, &code, 0, MDL);
c8bb8f
+
c8bb8f
 	for (code = 0 ; code < NUM_DEFAULT_REQUESTED_OPTS ; code++) {
c8bb8f
 		if (default_requested_options[code] == NULL)
c8bb8f
 			log_fatal("Unable to find option definition for "