summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-08-06 20:29:40 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-08-06 20:29:40 +0000
commitf9640e4952073e66f428c1fe3691c435c1e4bb63 (patch)
treee5d97ffffdd70547f8a7ca890b181f07827e271f /perl-install/harddrake/data.pm
parent6e3f96d8e80aaa77c89aca739e9ce65e2f362014 (diff)
downloaddrakx-backup-do-not-use-f9640e4952073e66f428c1fe3691c435c1e4bb63.tar
drakx-backup-do-not-use-f9640e4952073e66f428c1fe3691c435c1e4bb63.tar.gz
drakx-backup-do-not-use-f9640e4952073e66f428c1fe3691c435c1e4bb63.tar.bz2
drakx-backup-do-not-use-f9640e4952073e66f428c1fe3691c435c1e4bb63.tar.xz
drakx-backup-do-not-use-f9640e4952073e66f428c1fe3691c435c1e4bb63.zip
- dont detect undef devices
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 6f6c6c4bb..285585836 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -52,8 +52,8 @@ our @tree =
# ["","FDDI cards", "Ethernetcard.png", "", \&detect_devices::getNet],
["MODEM","Modem", "modem.png", "", sub { require network::modem;
my $modem;
- modem_detect_backend($modem);
- $modem->{device} ?$modem : {};
+ network::modem::modem_detect_backend($modem);
+ grep {$modem->{device} } @{ $modem};
} ],
# ["","Isdn", "", "", \&detect_devices::getNet]