summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2008-11-12 15:40:57 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2008-11-12 15:40:57 -0500
commitc00dc63dc0fac0f173d468dc6b742da6689cee52 (patch)
treee05cc896103438f37c2f33cdca36761cb2c4cb78
parentfa7db7fb173b5aceb1b4066b3da47f802b456ebe (diff)
downloadlibnice-c00dc63dc0fac0f173d468dc6b742da6689cee52.tar.gz
do not reset a connectivity check to 'in progress' when we get a triggered check on it and we're already done
-rw-r--r--agent/conncheck.c3
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);
}