[telepathy-gabble/master] Handle prflx candidates in ice-udp
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Mon Jun 29 04:43:20 PDT 2009
---
src/jingle-transport-iceudp.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/jingle-transport-iceudp.c b/src/jingle-transport-iceudp.c
index 51757bb..abb6fe9 100644
--- a/src/jingle-transport-iceudp.c
+++ b/src/jingle-transport-iceudp.c
@@ -300,8 +300,11 @@ parse_candidates (GabbleJingleTransportIface *obj,
{
ctype = JINGLE_CANDIDATE_TYPE_LOCAL;
}
- else if (!tp_strdiff (str, "srflx"))
+ else if (!tp_strdiff (str, "srflx") || !tp_strdiff (str, "prflx"))
{
+ /* FIXME Strictly speaking a prflx candidate should be a different
+ * type, but the TP spec has now way to distinguish and it doesn't
+ * matter much anyway.. */
ctype = JINGLE_CANDIDATE_TYPE_STUN;
}
else if (!tp_strdiff (str, "relay"))
--
1.5.6.5
More information about the telepathy-commits
mailing list