From 2dd9fcefa7902d43151721a4fb85e1c6d5aeff0e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Feb 2004 16:55:21 +0000 Subject: sort ethX interfaces in list --- perl-install/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index fb6dd858a..39a0af230 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -734,7 +734,7 @@ You can find a driver on http://eciadsl.flashtux.org/"), pre => $lan_detect, name => N("Select the network interface to configure:"), data => sub { - [ { label => N("Net Device"), type => "list", val => \$ntf_name, list => [ keys %eth_intf ], + [ { label => N("Net Device"), type => "list", val => \$ntf_name, list => [ sort keys %eth_intf ], allow_empty_list => 1, format => sub { $eth_intf{$_[0]} } } ]; }, post => sub { -- cgit v1.2.1