summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xztcfg.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ztcfg.c b/ztcfg.c
index 41f890a..ce369bc 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -518,8 +518,12 @@ static void printconfig()
"======================\n\n");
for (x=0;x<spans;x++)
printf("SPAN %d: %3s/%4s Build-out: %s\n",
- x+1, ( lc[x].lineconfig & ZT_CONFIG_ESF ? "ESF" : "D4"),
- (lc[x].lineconfig & ZT_CONFIG_B8ZS ? "B8ZS" : "AMI"),
+ x+1, ( lc[x].lineconfig & ZT_CONFIG_D4 ? "D4" :
+ lc[x].lineconfig & ZT_CONFIG_ESF ? "ESF" :
+ lc[x].lineconfig & ZT_CONFIG_CCS ? "CCS" : "CAS" ),
+ ( lc[x].lineconfig & ZT_CONFIG_AMI ? "AMI" :
+ lc[x].lineconfig & ZT_CONFIG_B8ZS ? "B8ZS" :
+ lc[x].lineconfig & ZT_CONFIG_HDB3 ? "HDB3" : "???" ),
lbostr[lc[x].lbo]);
for (x=0;x<numdynamic;x++) {
printf("Dynamic span %d: driver %s, addr %s, channels %d, timing %d\n",