[svn-commits] rmeyerriecks: branch linux/rmeyerriecks/dahdi-tools-maintmodes r8060 - /linux...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Feb 22 09:22:23 CST 2010
Author: rmeyerriecks
Date: Mon Feb 22 09:22:16 2010
New Revision: 8060
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8060
Log:
Updated tools to reflect new maintenance and performance counters
Modified:
linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_maint.c
linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_tool.c
Modified: linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_maint.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_maint.c?view=diff&rev=8060&r1=8059&r2=8060
==============================================================================
--- linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_maint.c (original)
+++ linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_maint.c Mon Feb 22 09:22:16 2010
@@ -125,13 +125,13 @@
s.spanno = span;
res = ioctl(ctl, DAHDI_SPANSTAT, &s);
printf("Span %d:\n", span);
- 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.prbscount);
- printf(">GES : %d:\n", s.errsec);
+ 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);
return 0;
}
Modified: linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_tool.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_tool.c?view=diff&rev=8060&r1=8059&r2=8060
==============================================================================
--- linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_tool.c (original)
+++ linux/team/rmeyerriecks/dahdi-tools-maintmodes/dahdi_tool.c Mon Feb 22 09:22:16 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].bpvcount);
+ sprintf(tmp, "%7d", s[span].count.bpv);
newtTextboxSetText(bpvcount, tmp);
sprintf(tmp, "%7d", s[span].irqmisses);
newtTextboxSetText(irqmisses, tmp);
More information about the svn-commits
mailing list