From: krw Date: Sun, 31 Jul 2016 18:55:16 +0000 (+0000) Subject: Ask for DHO_BOOTFILE_NAME and DHO_TFTP_SERVER by default. May prove X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e8e969d87178f250afd684f1d7bdd642a882242d;p=openbsd 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@ --- 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 {