summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-31 14:17:33 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-31 14:17:33 +0200
commit4bfaf60ed251b12cf90917bdb33c99657dbfc640 (patch)
treef4295394d10f66c47944a4204d091b1484468653 /src
parentb8e802851dd586b3e08799886cf4b144463b970f (diff)
mncc: Convert ip address so BTS sends it to the right place
Diffstat (limited to 'src')
-rw-r--r--src/mncc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mncc.c b/src/mncc.c
index 5531905..4bb117b 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -148,7 +148,7 @@ static void mncc_call_leg_connect(struct call_leg *_leg)
*/
mncc.msg_type = MNCC_RTP_CONNECT;
mncc.callref = leg->callref;
- mncc.ip = other->ip;
+ mncc.ip = htonl(other->ip);
mncc.port = other->port;
mncc.payload_type = other->payload_type;
/*