[svn-commits] sruffell: tools/trunk r8148 - in /tools/trunk: dahdi_maint.c dahdi_tool.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Feb 26 15:05:37 CST 2010
Author: sruffell
Date: Fri Feb 26 15:05:26 2010
New Revision: 8148
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8148
Log:
dahdi_tool, dahdi_maint: 'struct spaninfo' changed in dahdi-linux r8147
Modified:
tools/trunk/dahdi_maint.c
tools/trunk/dahdi_tool.c
Modified: tools/trunk/dahdi_maint.c
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/dahdi_maint.c?view=diff&rev=8148&r1=8147&r2=8148
==============================================================================
--- tools/trunk/dahdi_maint.c (original)
+++ tools/trunk/dahdi_maint.c Fri Feb 26 15:05:26 2010
@@ -156,13 +156,13 @@
s.spanno = span;
res = ioctl(ctl, DAHDI_SPANSTAT, &s);
printf("Span %d:\n", span);
- printf(">FEC : %d:\n", s.count.fe);
- printf(">CEC : %d:\n", s.count.crc4);
- printf(">CVC : %d:\n", s.count.cv);
- printf(">EBC : %d:\n", s.count.ebit);
- printf(">BEC : %d:\n", s.count.be);
- printf(">PRBS: %d:\n", s.count.prbs);
- printf(">GES : %d:\n", s.count.errsec);
+ printf(">FEC : %d:\n", s.fecount);
+ printf(">CEC : %d:\n", s.crc4count);
+ printf(">CVC : %d:\n", s.cvcount);
+ printf(">EBC : %d:\n", s.ebitcount);
+ printf(">BEC : %d:\n", s.becount);
+ printf(">PRBS: %d:\n", s.prbs);
+ printf(">GES : %d:\n", s.errsec);
return 0;
}
Modified: tools/trunk/dahdi_tool.c
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/dahdi_tool.c?view=diff&rev=8148&r1=8147&r2=8148
==============================================================================
--- tools/trunk/dahdi_tool.c (original)
+++ tools/trunk/dahdi_tool.c Fri Feb 26 15:05:26 2010
@@ -273,7 +273,7 @@
strcat(tmp, dahdi_txlevelnames[s[span].rxlevel]);
sprintf(tmp, "%3d/%3d", s[span].txlevel, s[span].rxlevel);
newtTextboxSetText(levels, tmp);
- sprintf(tmp, "%7d", s[span].count.bpv);
+ sprintf(tmp, "%7d", s[span].bpvcount);
newtTextboxSetText(bpvcount, tmp);
sprintf(tmp, "%7d", s[span].irqmisses);
newtTextboxSetText(irqmisses, tmp);
More information about the svn-commits
mailing list