aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/mgcp/mgcp_network.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 01:28:22 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-05 06:10:13 +0800
commit8b5772ebe4d6844976324882004403de6327af83 (patch)
tree79f4ab7c627f1ee0c83e2ea49f86caf253d903b1 /openbsc/src/mgcp/mgcp_network.c
parent7f8aec2b2b527f2c994349dd2eda76eb745a7658 (diff)
mgcp: Remove the forwarding mode as it was not used.
Diffstat (limited to 'openbsc/src/mgcp/mgcp_network.c')
-rw-r--r--openbsc/src/mgcp/mgcp_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/mgcp/mgcp_network.c b/openbsc/src/mgcp/mgcp_network.c
index 43de91b0d..7f3c11ee3 100644
--- a/openbsc/src/mgcp/mgcp_network.c
+++ b/openbsc/src/mgcp/mgcp_network.c
@@ -195,7 +195,7 @@ static int rtp_data_cb(struct bsc_fd *fd, unsigned int what)
proto = fd == &endp->local_rtp ? PROTO_RTP : PROTO_RTCP;
/* We have no idea who called us, maybe it is the BTS. */
- if (dest == DEST_NETWORK && (endp->bts_rtp == 0 || cfg->forward_ip)) {
+ if (dest == DEST_NETWORK && endp->bts_rtp == 0) {
/* it was the BTS... */
if (!cfg->bts_ip
|| memcmp(&addr.sin_addr, &cfg->bts_in, sizeof(cfg->bts_in)) == 0