|
|
26a25c |
diff -up dhcp-4.3.4/client/clparse.c.requested dhcp-4.3.4/client/clparse.c
|
|
|
26a25c |
--- dhcp-4.3.4/client/clparse.c.requested 2016-04-29 12:18:50.157151352 +0200
|
|
|
26a25c |
+++ dhcp-4.3.4/client/clparse.c 2016-04-29 12:19:22.235137243 +0200
|
|
|
26a25c |
@@ -31,7 +31,7 @@
|
|
|
26a25c |
|
|
|
26a25c |
struct client_config top_level_config;
|
|
|
26a25c |
|
|
|
26a25c |
-#define NUM_DEFAULT_REQUESTED_OPTS 9
|
|
|
26a25c |
+#define NUM_DEFAULT_REQUESTED_OPTS 14
|
|
|
26a25c |
/* There can be 2 extra requested options for DHCPv4-over-DHCPv6. */
|
|
|
26a25c |
struct option *default_requested_options[NUM_DEFAULT_REQUESTED_OPTS + 2 + 1];
|
|
|
26a25c |
|
|
|
26a25c |
@@ -116,6 +116,31 @@ isc_result_t read_client_conf ()
|
|
|
26a25c |
option_code_hash_lookup(&default_requested_options[8],
|
|
|
26a25c |
dhcpv6_universe.code_hash, &code, 0, MDL);
|
|
|
26a25c |
|
|
|
26a25c |
+ /* 10 */
|
|
|
26a25c |
+ code = DHO_NIS_DOMAIN;
|
|
|
26a25c |
+ option_code_hash_lookup(&default_requested_options[9],
|
|
|
26a25c |
+ dhcp_universe.code_hash, &code, 0, MDL);
|
|
|
26a25c |
+
|
|
|
26a25c |
+ /* 11 */
|
|
|
26a25c |
+ code = DHO_NIS_SERVERS;
|
|
|
26a25c |
+ option_code_hash_lookup(&default_requested_options[10],
|
|
|
26a25c |
+ dhcp_universe.code_hash, &code, 0, MDL);
|
|
|
26a25c |
+
|
|
|
26a25c |
+ /* 12 */
|
|
|
26a25c |
+ code = DHO_NTP_SERVERS;
|
|
|
26a25c |
+ option_code_hash_lookup(&default_requested_options[11],
|
|
|
26a25c |
+ dhcp_universe.code_hash, &code, 0, MDL);
|
|
|
26a25c |
+
|
|
|
26a25c |
+ /* 13 */
|
|
|
26a25c |
+ code = DHO_INTERFACE_MTU;
|
|
|
26a25c |
+ option_code_hash_lookup(&default_requested_options[12],
|
|
|
26a25c |
+ dhcp_universe.code_hash, &code, 0, MDL);
|
|
|
26a25c |
+
|
|
|
26a25c |
+ /* 14 */
|
|
|
26a25c |
+ code = DHO_DOMAIN_SEARCH;
|
|
|
26a25c |
+ option_code_hash_lookup(&default_requested_options[13],
|
|
|
26a25c |
+ dhcp_universe.code_hash, &code, 0, MDL);
|
|
|
26a25c |
+
|
|
|
26a25c |
for (code = 0 ; code < NUM_DEFAULT_REQUESTED_OPTS ; code++) {
|
|
|
26a25c |
if (default_requested_options[code] == NULL)
|
|
|
26a25c |
log_fatal("Unable to find option definition for "
|