Skip to content

Commit

Permalink
b/f: In case of IPv6 Option in the RTP-Command, the pointers and the …
Browse files Browse the repository at this point in the history
…length need to be updated.
  • Loading branch information
carstenbock committed Sep 3, 2012
1 parent a6a37ad commit 15f5c9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/rtpproxy/rtpproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2257,6 +2257,9 @@ force_rtp_proxy(struct sip_msg* msg, char* str1, char* str2, int offer, int forc
LM_ERR("out of pkg memory\n");
FORCE_RTP_PROXY_RET (-1);
}
/* We need to update the pointers and the length here, it has changed. */
v[1].iov_base = opts.s.s;
v[1].iov_len = opts.oidx;
}
STR2IOVEC(newip, v[9]);
STR2IOVEC(oldport, v[11]);
Expand Down

0 comments on commit 15f5c9f

Please sign in to comment.