summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-02-26 21:05:26 +0000
committerShaun Ruffell <sruffell@digium.com>2010-02-26 21:05:26 +0000
commit2e0f01e7e1455e91b13f0304be611e312f31cc24 (patch)
treee31a664bbe87bd80f9dd278de00afeece8c6e7e3
parent68c35fa1ec23763fea236fb47c8dcd4cb073b415 (diff)
dahdi_tool, dahdi_maint: 'struct spaninfo' changed in dahdi-linux r8147
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8148 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--dahdi_maint.c14
-rw-r--r--dahdi_tool.c2
2 files changed, 8 insertions, 8 deletions
diff --git a/dahdi_maint.c b/dahdi_maint.c
index 79673a0..4e3ae14 100644
--- a/dahdi_maint.c
+++ b/dahdi_maint.c
@@ -156,13 +156,13 @@ int main(int argc, char *argv[])
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;
}
diff --git a/dahdi_tool.c b/dahdi_tool.c
index 4b107c3..810aba1 100644
--- a/dahdi_tool.c
+++ b/dahdi_tool.c
@@ -273,7 +273,7 @@ static void show_bits(int span, newtComponent bitbox, newtComponent inuse, newtC
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);