summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-11-10 16:19:36 +0000
committerShaun Ruffell <sruffell@digium.com>2010-11-10 16:19:36 +0000
commit57d0461056f745ea3fdda31e2d9152c9a8777363 (patch)
tree2f668d1e3a612b109a58986e8fd10105b80c784d
parent641823d1625b360d6b27431b8ee8150342cdad28 (diff)
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@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9473 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--dahdi_scan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dahdi_scan.c b/dahdi_scan.c
index 1a30d18..20a9a4b 100644
--- a/dahdi_scan.c
+++ b/dahdi_scan.c
@@ -196,7 +196,8 @@ int main(int argc, char *argv[])
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 */