summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-28 15:21:40 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-28 15:21:40 +0000
commitea451fb403b23d1b6d385032837883d4f6c2ab5a (patch)
tree3f3e95db1eaa1ba7b105de893eeb2fd7ee17705a /mdk-stage1/network.c
parentfc359284bf5ac5b1992810911ea1c1721c832119 (diff)
downloaddrakx-ea451fb403b23d1b6d385032837883d4f6c2ab5a.tar
drakx-ea451fb403b23d1b6d385032837883d4f6c2ab5a.tar.gz
drakx-ea451fb403b23d1b6d385032837883d4f6c2ab5a.tar.bz2
drakx-ea451fb403b23d1b6d385032837883d4f6c2ab5a.tar.xz
drakx-ea451fb403b23d1b6d385032837883d4f6c2ab5a.zip
make dhcp the first choice (instead of static) in the network type menu
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 17dc90fce..1729ff5ff 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -400,8 +400,8 @@ static void static_ip_callback(char ** strings)
static enum return_type setup_network_interface(struct interface_info * intf)
{
enum return_type results;
- char * bootprotos[] = { "Static", "DHCP", "ADSL", NULL };
- char * bootprotos_auto[] = { "static", "dhcp", "adsl" };
+ char * bootprotos[] = { "DHCP", "Static", "ADSL", NULL };
+ char * bootprotos_auto[] = { "dhcp", "static", "adsl" };
char * choice;
results = ask_from_list_auto("Please select your network connection type.", bootprotos, &choice, "network", bootprotos_auto);