From 4bfaf60ed251b12cf90917bdb33c99657dbfc640 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 31 Mar 2016 14:17:33 +0200 Subject: [PATCH] mncc: Convert ip address so BTS sends it to the right place --- src/mncc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; /*