-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 02 June 2003 16:25, Martin Pycko wrote: > Even after you reload the modules for the board ? > What about "ztcfg -vv" ?
ztcfg didn't handle anything but T1 types in printconfig. Here's a quick patch to fix this behaviour. - -- Regards, Tais M. Hansen ComX -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+24FL2TEAILET3McRAgJRAJ9lmwJY4Z32c73IuP7pt0kxCVTqdQCgln85 w0P1I8lDrBMzQOBbY1zZEuA= =wWFc -----END PGP SIGNATURE-----
Index: ztcfg.c =================================================================== RCS file: /usr/cvsroot/zaptel/ztcfg.c,v retrieving revision 1.2 diff -u -4 -p -b -r1.2 ztcfg.c --- ztcfg.c 16 May 2003 20:06:58 -0000 1.2 +++ ztcfg.c 2 Jun 2003 17:08:50 -0000 @@ -517,10 +517,14 @@ static void printconfig() printf("\nZaptel Configuration\n" "======================\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", x +1, zds[x].driver, zds[x].addr, zds[x].numchans, zds[x].timing);