[Pkg-telepathy-commits] [libnice] 222/265: Return the correct originating IP on TURN
Simon McVittie
smcv at debian.org
Wed May 14 12:05:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository libnice.
commit cf92c5c534c2513ec28bd51f2280836c1996f69b
Author: Youness Alaoui <youness.alaoui at collabora.co.uk>
Date: Sat Apr 19 00:44:53 2014 -0400
Return the correct originating IP on TURN
If doing a recv on UDP-TURN, the 'from' address was kept set to
the turn server which causes connchecks to fail with "mismatched address"
error. This fixes it
---
socket/turn.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/socket/turn.c b/socket/turn.c
index 59a9f60..1c82a04 100644
--- a/socket/turn.c
+++ b/socket/turn.c
@@ -374,6 +374,8 @@ socket_recv_messages (NiceSocket *sock,
/* A TURN control message which needs ignoring. Re-use this
* NiceInputMessage in the next loop iteration. */
n_valid_messages = 0;
+ } else {
+ *message->from = from;
}
/* Split up the monolithic buffer again into the caller-provided buffers. */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git
More information about the Pkg-telepathy-commits
mailing list