From 793181529812128f5c570df1c055e17385ae9bd5 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 26 Sep 2002 16:47:13 +0000 Subject: try to not save the hostname answered by the dhcp server --- mdk-stage1/dhcp.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'mdk-stage1/dhcp.c') diff --git a/mdk-stage1/dhcp.c b/mdk-stage1/dhcp.c index 32c7a932b..bae74c9f4 100644 --- a/mdk-stage1/dhcp.c +++ b/mdk-stage1/dhcp.c @@ -257,13 +257,6 @@ static void parse_reply(struct bootp_request * breq, struct interface_info * int log_message("got gateway %s", inet_ntoa(gateway)); break; - case BOOTP_OPTION_HOSTNAME: - memcpy(tmp_str, chptr, length); - tmp_str[length] = '\0'; - hostname = strdup(tmp_str); - log_message("got hostname %s", hostname); - break; - } chptr += length; -- cgit v1.2.1