From 8b5772ebe4d6844976324882004403de6327af83 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 5 Aug 2010 01:28:22 +0800 Subject: mgcp: Remove the forwarding mode as it was not used. --- openbsc/src/mgcp/mgcp_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/src/mgcp/mgcp_network.c') 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 -- cgit v1.2.3