summaryrefslogtreecommitdiffstats
path: root/lib/network/netconnect.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-11 18:43:11 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-11 18:43:11 +0000
commitf529611ff81fb95512b25df6c5c413ce6c9936ef (patch)
tree8230058d2efea6b87ce87d5b5e9619a7dc3605fd /lib/network/netconnect.pm
parent9ab8332ccf5f6279f32774f7700efc9754a17413 (diff)
downloaddrakx-net-f529611ff81fb95512b25df6c5c413ce6c9936ef.tar
drakx-net-f529611ff81fb95512b25df6c5c413ce6c9936ef.tar.gz
drakx-net-f529611ff81fb95512b25df6c5c413ce6c9936ef.tar.bz2
drakx-net-f529611ff81fb95512b25df6c5c413ce6c9936ef.tar.xz
drakx-net-f529611ff81fb95512b25df6c5c413ce6c9936ef.zip
Showing interface name in drakconnect (#45581).
Diffstat (limited to 'lib/network/netconnect.pm')
-rw-r--r--lib/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
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;