Skip to content

Commit

Permalink
prevent overwriting rport ip address (bad 'fix', rather a crappy work…
Browse files Browse the repository at this point in the history
…around)
  • Loading branch information
Nils Jeisecke committed Oct 28, 2024
1 parent 27898cf commit 4172eaf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/call.c
Original file line number Diff line number Diff line change
Expand Up @@ -2376,8 +2376,11 @@ static int sipsess_desc_handler(struct mbuf **descp, const struct sa *src,

MAGIC_CHECK(call);
call->af = sa_af(src);
if (!call->acc->mnat)
sdp_session_set_laddr(call->sdp, src);

// temp. "Fix" für #15734: Das Setzen der laddr überschreibt hier unseren via
// rport eingetragenen Wert.
// if (!call->acc->mnat)
// sdp_session_set_laddr(call->sdp, src);

if (list_isempty(&call->streaml)) {
err = call_streams_alloc(call);
Expand Down

0 comments on commit 4172eaf

Please sign in to comment.