diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-20 17:46:53 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-20 17:46:53 +0000 |
commit | 8422bcac45a35c455210e14b0210514de0218a91 (patch) | |
tree | cd5205868f59be7673e84aa366d9a3c32b414e24 /perl-install/network/ethernet.pm | |
parent | c58d0d8d768abdebd6345f675b11c11fcf58c995 (diff) | |
download | drakx-backup-do-not-use-8422bcac45a35c455210e14b0210514de0218a91.tar drakx-backup-do-not-use-8422bcac45a35c455210e14b0210514de0218a91.tar.gz drakx-backup-do-not-use-8422bcac45a35c455210e14b0210514de0218a91.tar.bz2 drakx-backup-do-not-use-8422bcac45a35c455210e14b0210514de0218a91.tar.xz drakx-backup-do-not-use-8422bcac45a35c455210e14b0210514de0218a91.zip |
restore previous network::ethernet::get_eth_cards_names() behaviour
(i got hit by { map ... }; being a block and not a hash ref)
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r-- | perl-install/network/ethernet.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm index 66562b5ed..84d828a41 100644 --- a/perl-install/network/ethernet.pm +++ b/perl-install/network/ethernet.pm @@ -96,7 +96,7 @@ sub get_eth_cards { sub get_eth_cards_names { my (@all_cards) = @_; - +{ map { $_->[0] => join(': ', $_->[0], $_->[2]) } @all_cards }; + map { $_->[0] => join(': ', $_->[0], $_->[2]) } @all_cards; } #- returns (link_type, mac_address) |