summaryrefslogtreecommitdiff
path: root/agent/conncheck.c
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@ktknet.cz>2011-05-22 14:30:06 +0200
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>2014-05-15 09:43:15 -0400
commit7c7aa8ac293721ef692b3ea509449f7ac5dcfbe0 (patch)
tree5fe2ada8c733bce38a798d23f11b9f95a14af52a /agent/conncheck.c
parent5b966ee96c61ae0bc4cb886f4d4d6e5b7f470155 (diff)
downloadlibnice-7c7aa8ac293721ef692b3ea509449f7ac5dcfbe0.tar.gz
Use local candidate foundation as CANDIDATE-IDENTIFIER when creating
STUN_BINDING requests. Candidate check pair foundation was used - a combination of local and remote candidates' foundation, which does not correspond with [MS-ICE2] 2.2.2.1 0x8054 CANDIDATE-IDENTIFIER
Diffstat (limited to 'agent/conncheck.c')
-rw-r--r--agent/conncheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c
index 2f7f21d..c2c95c4 100644
--- a/agent/conncheck.c
+++ b/agent/conncheck.c
@@ -1727,7 +1727,7 @@ int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair)
uname, uname_len, password, password_len,
cand_use, controlling, priority,
agent->tie_breaker,
- pair->foundation,
+ pair->local->foundation,
agent_to_ice_compatibility (agent));
nice_debug ("Agent %p: conncheck created %zd - %p", agent, buffer_len,