[farsight2/master] Don't add baseaddr to host candidates
Olivier Crête
olivier.crete at collabora.co.uk
Tue Feb 10 05:37:37 PST 2009
---
transmitters/nice/fs-nice-stream-transmitter.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c
index 831ebb0..cb3c66d 100644
--- a/transmitters/nice/fs-nice-stream-transmitter.c
+++ b/transmitters/nice/fs-nice-stream-transmitter.c
@@ -995,7 +995,8 @@ nice_candidate_to_fs_candidate (NiceAgent *agent, NiceCandidate *nicecandidate,
ipaddr,
nice_address_get_port (&nicecandidate->addr));
- if (nice_address_is_valid (&nicecandidate->base_addr))
+ if (nice_address_is_valid (&nicecandidate->base_addr) &&
+ nicecandidate->type != NICE_CANDIDATE_TYPE_HOST)
{
nice_address_to_string (&nicecandidate->base_addr, ipaddr);
fscandidate->base_ip = ipaddr;
--
1.5.6.5
More information about the farsight-commits
mailing list