diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-18 15:32:50 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-04-18 15:32:50 +0000 |
commit | 359b62542a7b661e91c586b3c99c92225124751d (patch) | |
tree | 7d8b8c029690929791feb6819659775c4f28f5dd /mdk-stage1 | |
parent | 6fc85335510237504cad88eefec514f46d151ce1 (diff) | |
download | drakx-359b62542a7b661e91c586b3c99c92225124751d.tar drakx-359b62542a7b661e91c586b3c99c92225124751d.tar.gz drakx-359b62542a7b661e91c586b3c99c92225124751d.tar.bz2 drakx-359b62542a7b661e91c586b3c99c92225124751d.tar.xz drakx-359b62542a7b661e91c586b3c99c92225124751d.zip |
fix bug that trashes the network config of stage1 during stage2, when no DNS is provided
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/network.c | 5 |
1 files changed, 0 insertions, 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); |