From c15a3caefc60db49b157504a221e50c5004a11b5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 7 Nov 2003 19:44:47 +0000 Subject: (conf_network_card_backend) use getNetDriver() rather than relying on ethX alias for mapping the ethX interface to the driver that created it thus fixing quite old detection bugs --- perl-install/network/ethernet.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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 -- cgit v1.2.1