diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-07-31 18:55:17 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-07-31 18:55:17 +0000 |
commit | 93e2a1844b573a8e88b0d9180557a1b3715938b7 (patch) | |
tree | 1adede503ae4d21ed476ff6fd6d04305c3473f78 /sbin | |
parent | ff4a7b14593e54e54b6b0c8d48aeae4dd8640661 (diff) |
Ask for DHO_BOOTFILE_NAME and DHO_TFTP_SERVER by default. May prove
useful to autoinstall in the future and in the meantime can provide
information on what the dhcp server has done with the desired server
name and file name info.
Original diff from Patrik Lundin via tech@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/clparse.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c index 37523ac5651..b64674615fd 100644 --- a/sbin/dhclient/clparse.c +++ b/sbin/dhclient/clparse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clparse.c,v 1.95 2016/06/03 02:31:17 tedu Exp $ */ +/* $OpenBSD: clparse.c,v 1.96 2016/07/31 18:55:16 krw Exp $ */ /* Parser for dhclient config and lease files. */ @@ -110,6 +110,10 @@ read_client_conf(void) [config->requested_option_count++] = DHO_DOMAIN_NAME_SERVERS; config->requested_options [config->requested_option_count++] = DHO_HOST_NAME; + config->requested_options + [config->requested_option_count++] = DHO_BOOTFILE_NAME; + config->requested_options + [config->requested_option_count++] = DHO_TFTP_SERVER; if ((cfile = fopen(path_dhclient_conf, "r")) != NULL) { do { |