[Nice] [nice/master] do not reset a connectivity check to 'in progress' when we get a triggered check on it and we're already done

Youness Alaoui youness.alaoui at collabora.co.uk
Wed Nov 12 12:40:57 PST 2008


---
 agent/conncheck.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/agent/conncheck.c b/agent/conncheck.c
index eb71478..b3e6e3a 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -1424,7 +1424,8 @@ static gboolean priv_schedule_triggered_check (NiceAgent *agent, Stream *stream,
 	  /* note: to take care of the controlling-controlling case in 
 	   *       aggressive nomination mode, send a new triggered
 	   *       check to nominate the pair */
-	  if (agent->controlling_mode)
+	  if (agent->compatibility == NICE_COMPATIBILITY_DRAFT19 &&
+              agent->controlling_mode)
 	    priv_conn_check_initiate (agent, p);
 	}
 
-- 
1.5.6.5




More information about the Nice mailing list