mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-sip-connector.git
synced 2025-11-02 13:13:36 +00:00
Following from previous commit, assume other->ip is network byte order
Change-Id: I3641a843a3b4a9b2686c1a07d48f52527dce46a2
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user