diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-11 18:43:11 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-02-11 18:43:11 +0000 |
commit | f529611ff81fb95512b25df6c5c413ce6c9936ef (patch) | |
tree | 8230058d2efea6b87ce87d5b5e9619a7dc3605fd /lib/network/netconnect.pm | |
parent | 9ab8332ccf5f6279f32774f7700efc9754a17413 (diff) | |
download | drakx-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.pm | 2 |
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; |