summaryrefslogtreecommitdiffstats
path: root/perl-install/network/ethernet.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/ethernet.pm')
-rw-r--r--perl-install/network/ethernet.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm
index 94a727a0f..7eb54397e 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -70,7 +70,7 @@ I cannot set up this connection type.")), return;
my $interface = $in->ask_from_listf(N("Choose the network interface"),
N("Please choose which network adapter you want to use to connect to Internet."),
- sub { $_->[0] . ($_->[1] ? " (using module $_->[1])" : "") },
+ sub { my ($e) = @_; $e->[0] . ($e->[1] ? " (using module $e->[1])" : "") },
\@all_cards) or return;
modules::write_conf($prefix) if $::isStandalone;