diff options
Diffstat (limited to 'perl-install/network/isdn.pm')
-rw-r--r-- | perl-install/network/isdn.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm index 2e8177b37..7ac63f15b 100644 --- a/perl-install/network/isdn.pm +++ b/perl-install/network/isdn.pm @@ -245,7 +245,7 @@ sub isdn_detect { } sub isdn_detect_backend { - my ($isdn) = @_; + my ($isdn) = { }; if (my ($c) = modules::probe_category('network/isdn')) { $isdn = { map { $_ => $c->{$_} } qw(description vendor id driver card_type type) }; $isdn->{$_} = sprintf("%0x", $isdn->{$_}) foreach 'vendor', 'id'; @@ -257,6 +257,7 @@ sub isdn_detect_backend { } $c->{options} =~ /protocol=(\d)/ and $isdn->{protocol} = $1; } + $isdn; } sub isdn_get_list() { |