From f529611ff81fb95512b25df6c5c413ce6c9936ef Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Wed, 11 Feb 2009 18:43:11 +0000 Subject: Showing interface name in drakconnect (#45581). --- lib/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network') diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm index 2759554..1e5065b 100644 --- a/lib/network/netconnect.pm +++ b/lib/network/netconnect.pm @@ -147,7 +147,7 @@ sub real_main { select_connection => { name => sub { $net->{type}->get_type_name . "\n\n" . N("Select the network interface to configure:") }, data => [ { val => \$connection, type => 'list', list => \@connections_list, - format => sub { $_[0] && $_[0]->get_description }, allow_empty_list => !text2bool($global_settings{AUTOMATIC_IFACE_CHOICE})} ], + format => sub { $_[0] && N("%s: %s", $_[0]->get_interface, $_[0]->get_description) }, allow_empty_list => !text2bool($global_settings{AUTOMATIC_IFACE_CHOICE})} ], complete => sub { $connection->setup_thirdparty($in) or return 1; $connection->prepare_device; -- cgit v1.2.1