summaryrefslogtreecommitdiffstats
path: root/perl-install/network/isdn.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-08 08:58:16 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-08 08:58:16 +0000
commit217e0acb22f8ec35d2d438d485bd9625e0af2ab2 (patch)
treed495b8bdb1c7c6fc37194a5aebe3fe0d8f304523 /perl-install/network/isdn.pm
parent7410fe3578d48fced30194d17af2642057c03b09 (diff)
downloaddrakx-backup-do-not-use-217e0acb22f8ec35d2d438d485bd9625e0af2ab2.tar
drakx-backup-do-not-use-217e0acb22f8ec35d2d438d485bd9625e0af2ab2.tar.gz
drakx-backup-do-not-use-217e0acb22f8ec35d2d438d485bd9625e0af2ab2.tar.bz2
drakx-backup-do-not-use-217e0acb22f8ec35d2d438d485bd9625e0af2ab2.tar.xz
drakx-backup-do-not-use-217e0acb22f8ec35d2d438d485bd9625e0af2ab2.zip
(isdn_get_cards_by_type) splited out of old isdn_ask() func
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r--perl-install/network/isdn.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index 19fc9f2e1..0709338e8 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -229,4 +229,10 @@ sub isdn_get_info {
find { $_->{description} eq $desc } @isdndata;
}
+sub isdn_get_cards_by_type {
+ my ($isdn_type) = @_;
+ grep { $_->{card} eq $isdn_type } @isdndata;
+}
+
+
1;