From 3186892771fe8174e42c7e3cddc7baf4c9abb0cd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 3 Aug 2010 11:59:04 +0000 Subject: mgcp: Move the rtp state into a struct Use a struct to group the rtp state for the up and the down link of the bts. --- openbsc/src/mgcp/mgcp_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src/mgcp/mgcp_vty.c') diff --git a/openbsc/src/mgcp/mgcp_vty.c b/openbsc/src/mgcp/mgcp_vty.c index 45df0a23d..a179b7a09 100644 --- a/openbsc/src/mgcp/mgcp_vty.c +++ b/openbsc/src/mgcp/mgcp_vty.c @@ -87,8 +87,8 @@ DEFUN(show_mcgp, show_mgcp_cmd, "show mgcp", 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->bts_lost_no, - endp->in_remote, endp->net_lost_no, + inet_ntoa(endp->bts), endp->in_bts, endp->bts_state.lost_no, + endp->in_remote, endp->net_state.lost_no, VTY_NEWLINE); } -- cgit v1.2.3