Change in ...osmo-sip-connector[master]: Following from previous commit, assume other->ip is network byte order

keith gerrit-no-reply at lists.osmocom.org
Tue Aug 6 13:01:06 UTC 2019


keith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sip-connector/+/15064


Change subject: Following from previous commit, assume other->ip is network byte order
......................................................................

Following from previous commit, assume other->ip is network byte order

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



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

diff --git a/src/sdp.c b/src/sdp.c
index 52f7e25..e2ed25e 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -204,7 +204,7 @@
 
 char *sdp_create_file(struct sip_call_leg *leg, struct call_leg *other, sdp_mode_t mode)
 {
-	struct in_addr net = { .s_addr = htonl(other->ip) };
+	struct in_addr net = { .s_addr = other->ip };
 	char *fmtp_str = NULL, *sdp;
 	char *mode_attribute;
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sip-connector/+/15064
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-Change-Id: I3641a843a3b4a9b2686c1a07d48f52527dce46a2
Gerrit-Change-Number: 15064
Gerrit-PatchSet: 1
Gerrit-Owner: keith <keith at rhizomatica.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190806/0eba15cd/attachment.html>


More information about the gerrit-log mailing list