summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 0a658e15d..bcda4a64b 100644
--- a/perl-install/network/ethernet.pm
+++ b/perl-install/network/ethernet.pm
@@ -115,7 +115,7 @@ sub conf_network_card_backend {
my $saved_driver;
return map {
my $interface = $_;
- my $a = modules::get_alias($interface);
+ my $a = c::getNetDriver($interface) || modules::get_alias($interface);
my $b = find { $_->{device} eq $interface } @devs;
$a ||= $b->{driver};
$a and $saved_driver = $a; # handle multiple cards managed by the same driver