summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthe 34c3 gsm team <34c3-gsm@congress>2017-12-28 00:28:13 +0100
committerthe 34c3 gsm team <34c3-gsm@congress>2017-12-28 00:40:01 +0100
commit7d2440c3f5cbe9bec0bfe162ce9257e067f2ac4d (patch)
tree3750e79e558f8f1f647e1b0e28fa026f574e8e10
parentce53b71f45be20b16f17d8644f47133127e7f794 (diff)
sdp: remove htonl() from in_addrlynxis/34c3
-rw-r--r--src/sdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdp.c b/src/sdp.c
index ee389b6..6cec248 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -165,7 +165,7 @@ bool sdp_extract_sdp(struct sip_call_leg *leg, const sip_t *sip, bool any_codec)
char *sdp_create_file(struct sip_call_leg *leg, struct call_leg *other)
{
- struct in_addr net = { .s_addr = htonl(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);