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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Aug 6 13:04:23 UTC 2019


neels has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  neels: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190806/775abf53/attachment.htm>


More information about the gerrit-log mailing list