From bf2e17b32e37a0d1b41fe4993b8dbc1b61d89236 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Mar 2004 10:07:38 +0000 Subject: list network card name rather than just ethX in device list --- perl-install/standalone/drakgw | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone/drakgw') diff --git a/perl-install/standalone/drakgw b/perl-install/standalone/drakgw index 0dfa138f8..36cfb4d33 100755 --- a/perl-install/standalone/drakgw +++ b/perl-install/standalone/drakgw @@ -29,6 +29,7 @@ use common; use detect_devices; use interactive; use network::network; +use network::ethernet; use log; use c; use network::netconnect; @@ -215,7 +216,7 @@ Examples: eth0, or eth1 for cable connection, ippp+ for a isdn connection. "), - [ { label => N("Net Device"), val => \$card_netconnect, list => [ detect_devices::getNet() ], not_edit => 0 } ]) + [ { label => N("Net Device"), val => \$card_netconnect, list => [ sort keys %net_devices ], format => sub { $net_devices{$_[0]} || $_[0] }, not_edit => 0 } ]) or goto step_ask_confirm; my @cards = grep { -- cgit v1.2.1