[svn-commits] sruffell: tools/trunk r9473 - /tools/trunk/dahdi_scan.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 10 10:19:41 CST 2010


Author: sruffell
Date: Wed Nov 10 10:19:36 2010
New Revision: 9473

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9473
Log:
dahdi_scan: Show CAS framing on the framing line.

Also, always append "/CRC4" on any span where that was specified as an
option.

Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>

Modified:
    tools/trunk/dahdi_scan.c

Modified: tools/trunk/dahdi_scan.c
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/dahdi_scan.c?view=diff&rev=9473&r1=9472&r2=9473
==============================================================================
--- tools/trunk/dahdi_scan.c (original)
+++ tools/trunk/dahdi_scan.c Wed Nov 10 10:19:36 2010
@@ -196,7 +196,8 @@
 			if (s.lineconfig & DAHDI_CONFIG_ESF) fprintf(stdout, "ESF");
 			else if (s.lineconfig & DAHDI_CONFIG_D4) fprintf(stdout, "D4");
 			else if (s.lineconfig & DAHDI_CONFIG_CCS) fprintf(stdout, "CCS");
-			else if (s.lineconfig & DAHDI_CONFIG_CRC4) fprintf(stdout, "/CRC4");
+			else fprintf(stdout, "CAS");
+			if (s.lineconfig & DAHDI_CONFIG_CRC4) fprintf(stdout, "/CRC4");
 			fprintf(stdout, "\n");
 		} else {
 			/* this is an analog span */




More information about the svn-commits mailing list