summaryrefslogtreecommitdiff
path: root/kernel/xpp/utils
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-05 21:16:47 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-03-05 21:16:47 +0000
commite85cf46f78e724c9df60988c5dd2fadea686eb59 (patch)
treeeeffce29b7e276e7dcb1b27d78080e511d3d9c97 /kernel/xpp/utils
parent34527941b79d4e358a79c4edda9bd134686879f0 (diff)
Hopefully a fix for issue #12150 .
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3939 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'kernel/xpp/utils')
-rw-r--r--kernel/xpp/utils/zconf/Zaptel/Span.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/xpp/utils/zconf/Zaptel/Span.pm b/kernel/xpp/utils/zconf/Zaptel/Span.pm
index 380dc7f..7c08484 100644
--- a/kernel/xpp/utils/zconf/Zaptel/Span.pm
+++ b/kernel/xpp/utils/zconf/Zaptel/Span.pm
@@ -106,6 +106,7 @@ sub new($$) {
s/^\s*//;
s/\s*$//;
next unless /\S/;
+ next unless /^\s*\d+/; # must be a real channel string.
my $c = Zaptel::Chans->new($self, $index, $_);
push(@channels, $c);
$index++;