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

Change-Id: I3641a843a3b4a9b2686c1a07d48f52527dce46a2
This commit is contained in:
Keith Whyte 2019-08-06 14:59:44 +02:00
parent 1f1f3f6fb9
commit 279e910a4a
1 changed files with 1 additions and 1 deletions

View File

@ -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;