diff options
Diffstat (limited to 'src/sdp.c')
-rw-r--r-- | src/sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 = ntohl(other->ip) }; + struct in_addr net = { .s_addr = htonl(other->ip) }; char *fmtp_str = NULL, *sdp; leg->wanted_codec = app_media_name(other->payload_msg_type); |