diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-07 09:37:17 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-04-07 22:51:59 +0200 |
commit | b4b135efbf17f81a3faccb488ca35a5086adc618 (patch) | |
tree | eed0e306eba0aaf23e26fe5ebfdbd381b14f6e8e /openbsc/src/mgcp/mgcp_vty.c | |
parent | b4c7b274a1365e896affc1e1cb9a5075e3100e2a (diff) |
[mgcp] Count incoming RTP packets from the BTS and remote
Diffstat (limited to 'openbsc/src/mgcp/mgcp_vty.c')
-rw-r--r-- | openbsc/src/mgcp/mgcp_vty.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c index c8d4b7fe6..af762c57e 100644 --- a/openbsc/src/mgcp/mgcp_vty.c +++ b/openbsc/src/mgcp/mgcp_vty.c @@ -77,11 +77,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%s", + vty_out(vty, " Endpoint 0x%.2x: CI: %d net: %u/%u bts: %u/%u on %s traffic in :%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), VTY_NEWLINE); + inet_ntoa(endp->bts), endp->in_bts, endp->in_remote, + VTY_NEWLINE); } return CMD_SUCCESS; |