summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;