aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-29 02:43:14 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-29 02:55:12 +0800
commitd506107d1cc1374081defa3d1c6e32b29cef1996 (patch)
treeca5e5b1bcd9a6089fed6620b9074b5a386f9b022
parent7947b6be88a74c22968b3cb73edb93dfae379b38 (diff)
mgcp: Provide the RTP packet loss information in the mgcp overview
-rw-r--r--openbsc/src/mgcp/mgcp_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c
index e4e1188ed..a397d30ea 100644
--- a/openbsc/src/mgcp/mgcp_vty.c
+++ b/openbsc/src/mgcp/mgcp_vty.c
@@ -82,11 +82,12 @@ DEFUN(show_mcgp, show_mgcp_cmd, "show mgcp",
vty_out(vty, "MGCP is up and running with %u endpoints:%s", g_cfg->number_endpoints - 1, VTY_NEWLINE);
for (i = 1; i < g_cfg->number_endpoints; ++i) {
struct mgcp_endpoint *endp = &g_cfg->endpoints[i];
- vty_out(vty, " Endpoint 0x%.2x: CI: %d net: %u/%u bts: %u/%u on %s traffic received bts: %u remote: %u%s",
+ vty_out(vty, " Endpoint 0x%.2x: CI: %d net: %u/%u bts: %u/%u on %s traffic received bts: %u/%u remote: %u/%u%s",
i, endp->ci,
ntohs(endp->net_rtp), ntohs(endp->net_rtcp),
ntohs(endp->bts_rtp), ntohs(endp->bts_rtcp),
- inet_ntoa(endp->bts), endp->in_bts, endp->in_remote,
+ inet_ntoa(endp->bts), endp->in_bts, endp->bts_lost_no,
+ endp->in_remote, endp->net_lost_no,
VTY_NEWLINE);
}