Following from previous commit, assume other->ip is network byte order
Change-Id: I3641a843a3b4a9b2686c1a07d48f52527dce46a2changes/64/15064/1
parent
1f1f3f6fb9
commit
279e910a4a
|
@ -204,7 +204,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, 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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue