mncc: Convert ip address so BTS sends it to the right place

This commit is contained in:
Holger Hans Peter Freyther 2016-03-31 14:17:33 +02:00
parent b8e802851d
commit 4bfaf60ed2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
/*