aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/rsl.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-02-03 16:35:07 +0100
committerHarald Welte <laforge@gnumonks.org>2013-02-04 22:16:23 +0100
commit550d22be5b2ddc376ccae937bd34c921dcf4a071 (patch)
tree128328e61ceeda9af398566125e41c3996a279b3 /src/common/rsl.c
parent6a2d89f48d0727238eb2c14c7bfb4f0517d3be81 (diff)
Deprecate the "rtp bind-ip" configuration directive
Instead of explicitly having to specify the local IP address for RTP sockets in the BTS, we just use "0.0.0.0" instead, which gets translated to INADDR_ANY. We still accept the configuration directive in old config files, but when we write, the line will no longer be re-written to the file. TODO: IMHO, the IPA RSL CRCX/MDCX actually permit the BSC to specify the IP address on the BTS side, and we probably simply ignore this at this point.
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r--src/common/rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 76f2c742..e1a8e8fc 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -1264,7 +1264,7 @@ static int rsl_rx_ipac_XXcx(struct msgb *msg)
lchan->abis_ip.rtp_socket->rx_cb = &bts_model_rtp_rx_cb;
rc = osmo_rtp_socket_bind(lchan->abis_ip.rtp_socket,
- btsb->rtp_bind_host, -1);
+ "0.0.0.0", -1);
if (rc < 0) {
LOGP(DRSL, LOGL_ERROR,
"%s IPAC Failed to bind RTP/RTCP sockets\n",