From 359b62542a7b661e91c586b3c99c92225124751d Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 18 Apr 2001 15:32:50 +0000 Subject: fix bug that trashes the network config of stage1 during stage2, when no DNS is provided --- mdk-stage1/network.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c index 9a07fa34a..e7e547602 100644 --- a/mdk-stage1/network.c +++ b/mdk-stage1/network.c @@ -259,11 +259,6 @@ static int save_netinfo(struct interface_info * intf) { char file_intf[500]; FILE * f; - if (dns_server.s_addr == 0) { - log_message("resolvconf needs a dns server"); - return -1; - } - f = fopen(file_network, "w"); if (!f) { log_perror(file_network); -- cgit v1.2.1