From 57479c2fb9e99ca3c31551c66359c99c023595e5 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Mon, 20 Oct 2008 12:13:31 +0000 Subject: zapconf: Fix number in error message in case of unknown channel type. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4571 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- kernel/xpp/utils/zapconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/xpp/utils/zapconf b/kernel/xpp/utils/zapconf index 7f94f6b..78a20b9 100755 --- a/kernel/xpp/utils/zapconf +++ b/kernel/xpp/utils/zapconf @@ -166,7 +166,7 @@ sub gen_zaptel_signalling($) { printf "# channel %d, %s, no module.\n", $num, $chan->fqn; return; } - my $sig = $default_zaptel_signalling{$type} || die "unknown default zaptel signalling for chan $chan type $type"; + my $sig = $default_zaptel_signalling{$type} || die "unknown default zaptel signalling for chan $num type $type"; if ($type eq 'IN') { printf "# astbanktype: input\n"; } elsif ($type eq 'OUT') { -- cgit v1.2.3