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

Change-Id: I3641a843a3b4a9b2686c1a07d48f52527dce46a2
changes/64/15064/1
Keith Whyte 3 years ago
parent 1f1f3f6fb9
commit 279e910a4a
  1. 2
      src/sdp.c

@ -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…
Cancel
Save