aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp
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:43:14 +0800
commit1aa4246bb8c0cc75091eb299da11c6199f8dbebd (patch)
tree45fad3fbef13acc5d641f6bb29dc49a6f8107899 /openbsc/src/mgcp
parent380b8711a2c3a7bc88ee3cc692c2f51e019b8859 (diff)
mgcp: Provide the RTP packet loss information in the mgcp overview
Diffstat (limited to 'openbsc/src/mgcp')
-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 00a2e351..49974c11 100644
--- a/openbsc/src/mgcp/mgcp_vty.c
+++ b/openbsc/src/mgcp/mgcp_vty.c
@@ -83,11 +83,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);
}