[dahdi-commits] tzafrir: tools/trunk r5098 -	/tools/trunk/xpp/dahdi_genconf
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Thu Oct 16 12:56:43 CDT 2008
    
    
  
Author: tzafrir
Date: Thu Oct 16 12:56:43 2008
New Revision: 5098
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5098
Log:
dahdi_genconf: report channel number in case of error.
Modified:
    tools/trunk/xpp/dahdi_genconf
Modified: tools/trunk/xpp/dahdi_genconf
URL: http://svn.digium.com/view/dahdi/tools/trunk/xpp/dahdi_genconf?view=diff&rev=5098&r1=5097&r2=5098
==============================================================================
--- tools/trunk/xpp/dahdi_genconf (original)
+++ tools/trunk/xpp/dahdi_genconf Thu Oct 16 12:56:43 2008
@@ -183,7 +183,7 @@
 		printf "# channel %d, %s, no module.\n", $num, $chan->fqn;
 		return;
 	}
-	my $sig = $default_dahdi_signalling{$type} || die "unknown default dahdi signalling for chan $chan type $type";
+	my $sig = $default_dahdi_signalling{$type} || die "unknown default dahdi signalling for chan $num type $type";
 	if ($type eq 'IN') {
 		printf "# astbanktype: input\n";
 	} elsif ($type eq 'OUT') {
    
    
More information about the dahdi-commits
mailing list