aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-03 11:59:04 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-03 23:57:16 +0800
commit3186892771fe8174e42c7e3cddc7baf4c9abb0cd (patch)
tree92a9c02c013ecb8fe83e472529478f40ad0828bb /openbsc/src/mgcp/mgcp_vty.c
parentebc824cd2e1777294e71e47dffd8a41a253b2045 (diff)
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.
Diffstat (limited to 'openbsc/src/mgcp/mgcp_vty.c')
-rw-r--r--openbsc/src/mgcp/mgcp_vty.c4
1 files changed, 2 insertions, 2 deletions
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);
}