Tobias Mädel has uploaded this change for review. ( 
https://gerrit.osmocom.org/10452


Change subject: merges commit from lynxis - changes byte order for IPv4 address 
in SDP
......................................................................

merges commit from lynxis - changes byte order for IPv4 address in SDP

Change-Id: Ib2bebfb905afc91afc01770df8532b749f494806
---
M src/sdp.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector 
refs/changes/52/10452/1

diff --git a/src/sdp.c b/src/sdp.c
index 213e979..2824378 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -165,7 +165,7 @@

 char *sdp_create_file(struct sip_call_leg *leg, struct call_leg *other)
 {
-       struct in_addr net = { .s_addr = ntohl(other->ip) };
+       struct in_addr net = { .s_addr = other->ip };
        char *fmtp_str = NULL, *sdp;

        leg->wanted_codec = app_media_name(other->payload_msg_type);

--
To view, visit https://gerrit.osmocom.org/10452
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2bebfb905afc91afc01770df8532b749f494806
Gerrit-Change-Number: 10452
Gerrit-PatchSet: 1
Gerrit-Owner: Tobias Mädel <osmocom.acco...@tbspace.de>

Reply via email to