From dcff613ee39416e66529c471e829b092839450e6 Mon Sep 17 00:00:00 2001 From: Russ Meyerriecks Date: Mon, 22 Feb 2010 20:21:23 +0000 Subject: 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 --- dahdi_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dahdi_tool.c') 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); -- cgit v1.2.3