diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-26 16:47:13 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-26 16:47:13 +0000 |
commit | 793181529812128f5c570df1c055e17385ae9bd5 (patch) | |
tree | 68b84464aa072fb9bd4cbc78f1d4abb26572698e /mdk-stage1/dhcp.c | |
parent | 2401671895ff60401e8169601fe907455392bcd6 (diff) | |
download | drakx-backup-do-not-use-793181529812128f5c570df1c055e17385ae9bd5.tar drakx-backup-do-not-use-793181529812128f5c570df1c055e17385ae9bd5.tar.gz drakx-backup-do-not-use-793181529812128f5c570df1c055e17385ae9bd5.tar.bz2 drakx-backup-do-not-use-793181529812128f5c570df1c055e17385ae9bd5.tar.xz drakx-backup-do-not-use-793181529812128f5c570df1c055e17385ae9bd5.zip |
try to not save the hostname answered by the dhcp server
Diffstat (limited to 'mdk-stage1/dhcp.c')
-rw-r--r-- | mdk-stage1/dhcp.c | 7 |
1 files changed, 0 insertions, 7 deletions
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; |