diff options
author | Russ Meyerriecks <rmeyerreicks@digium.com> | 2010-02-22 20:21:23 +0000 |
---|---|---|
committer | Russ Meyerriecks <rmeyerreicks@digium.com> | 2010-02-22 20:21:23 +0000 |
commit | dcff613ee39416e66529c471e829b092839450e6 (patch) | |
tree | 14ff2c23dc3bb0f52386ee16814294aa518ac177 /dahdi_tool.c | |
parent | 783ff76b2694fb8fd01863963ebdfc0e6403f993 (diff) |
dahdi-tool: Maintenance and Performance additions
* Created a new tool "dahdi_maint" which is used for manipulating the different
maintenance and performance modes for drivers which support it. It supports:
Dual/Quad Span Card (TE4xx):
- Setting a local loopback (virtual loopback plug)
- Setting a network and network payload loopback
- Sending loopup, loopdown, and loopstop codes down the line
- Reporting the current status of the hardware based error counters :
- Framing Errors
- CRC4 Errors
- Code Violation Errors
- Errored Seconds
- Bipolar Violations
- Ebit Errors
- Fas Errors
Single Span Card (TE12x):
- Setting a local loopback (virtual loopback plug)
- Setting a network and network payload loopback
- Sending loopup, loopdown, and loopstop codes down the line
* Modified dahdi_tool to support the new counter substructure.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8069 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'dahdi_tool.c')
-rw-r--r-- | dahdi_tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dahdi_tool.c b/dahdi_tool.c index 0931e9e..cafc544 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].bpvcount); + sprintf(tmp, "%7d", s[span].count.bpv); newtTextboxSetText(bpvcount, tmp); sprintf(tmp, "%7d", s[span].irqmisses); newtTextboxSetText(irqmisses, tmp); |