aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_protocol.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 09:37:17 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-07 09:37:17 +0200
commitcb1937a4c53c723c8757117d074c3be29936b872 (patch)
treece1683ce5cb18312b2dc55a56849b6c362a27657 /openbsc/src/mgcp/mgcp_protocol.c
parent3cfd5d6a022da3e33cec282bed1a3b653743e488 (diff)
[mgcp] Count incoming RTP packets from the BTS and remote
Diffstat (limited to 'openbsc/src/mgcp/mgcp_protocol.c')
-rw-r--r--openbsc/src/mgcp/mgcp_protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/mgcp/mgcp_protocol.c b/openbsc/src/mgcp/mgcp_protocol.c
index bbdc43e05..7c8b460fa 100644
--- a/openbsc/src/mgcp/mgcp_protocol.c
+++ b/openbsc/src/mgcp/mgcp_protocol.c
@@ -728,6 +728,7 @@ void mgcp_free_endp(struct mgcp_endpoint *endp)
endp->net_rtp = endp->net_rtcp = endp->bts_rtp = endp->bts_rtcp = 0;
endp->net_payload_type = endp->bts_payload_type = -1;
+ endp->in_bts = endp->in_remote = 0;
memset(&endp->remote, 0, sizeof(endp->remote));
memset(&endp->bts, 0, sizeof(endp->bts));
}