diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-07 19:44:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-11-07 19:44:47 +0000 |
commit | c15a3caefc60db49b157504a221e50c5004a11b5 (patch) | |
tree | 0d661da4df906febeb7a90dcf3a5ddf71b87b712 /perl-install | |
parent | 4785e5cb63460c51ababcad9a03b1e4165ebe11c (diff) | |
download | drakx-c15a3caefc60db49b157504a221e50c5004a11b5.tar drakx-c15a3caefc60db49b157504a221e50c5004a11b5.tar.gz drakx-c15a3caefc60db49b157504a221e50c5004a11b5.tar.bz2 drakx-c15a3caefc60db49b157504a221e50c5004a11b5.tar.xz drakx-c15a3caefc60db49b157504a221e50c5004a11b5.zip |
(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
Diffstat (limited to 'perl-install')
-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 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 |