aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/oml.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-06-30 15:27:10 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-06 15:50:36 +0200
commit359fb8caf417570856ca61d6ff90df1fc452d659 (patch)
treefa52c08a470319a3d6a9a6dcf7b359290989c890 /src/common/oml.c
parentb77ae3bc601f9c70c6f9d41d70b063a769506322 (diff)
abis: Use OML remote (BSC) address if RSL CONNECT contains no IP
This introduces a new get_signlink_remote_ip() function whcih we also use in the RSL code to determine the RTP remote address if the CRCX/MDCX contains no remote IP address IE.
Diffstat (limited to 'src/common/oml.c')
-rw-r--r--src/common/oml.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index f00b2f1e..1c38c666 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -991,13 +991,12 @@ static int oml_ipa_set_attr(struct gsm_bts *bts, struct msgb *msg)
return oml_fom_ack_nack(msg, rc);
}
-
static int rx_oml_ipa_rsl_connect(struct gsm_bts_trx *trx, struct msgb *msg,
struct tlv_parsed *tp)
{
struct e1inp_sign_link *oml_link = trx->bts->oml_link;
uint16_t port = IPA_TCP_PORT_RSL;
- uint32_t ip;//FIXME = oml_link->ip;
+ uint32_t ip = get_signlink_remote_ip(oml_link);
struct in_addr in;
int rc;