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

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