Commit a9c88afa authored by aymeric's avatar aymeric

fix unix file mode

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@315 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 49d6e653
......@@ -45,10 +45,10 @@ ice_sendtest( struct IceCheckList *checklist, struct CandidatePair *remote_candi
stunBuildReqSimple( &req, username, FALSE, FALSE, 1);
req.hasMessageIntegrity=TRUE;
/* 7.1.1.1
The attribute MUST be set equal to the priority that would be
assigned, based on the algorithm in Section 4.1.2, to a peer
reflexive candidate, should one be learned as a consequence of this
/* 7.1.1.1
The attribute MUST be set equal to the priority that would be
assigned, based on the algorithm in Section 4.1.2, to a peer
reflexive candidate, should one be learned as a consequence of this
check */
req.hasPriority = TRUE;
req.priority.priority = (UInt32)(pow((double)2,(double)24)*(110) + pow((double)2,(double)8)*(65535) + pow((double)2,(double)0)*(256 - remote_candidate->remote_candidate.component_id));
......@@ -653,7 +653,7 @@ static int ice_process_stun_message(RtpSession *session, struct IceCheckList *ch
}
if (checklist->rem_controlling==0 && msg.hasIceControlling) {
/* If the agent's tie-breaker is larger than or equal
/* If the agent's tie-breaker is larger than or equal
to the contents of the ICE-CONTROLLING attribute
-> send 487, and do not change ROLE */
if (checklist->tiebreak_value >= msg.iceControlling.value) {
......@@ -693,7 +693,7 @@ static int ice_process_stun_message(RtpSession *session, struct IceCheckList *ch
}
if (checklist->rem_controlling==1 && msg.hasIceControlled) {
/* If the agent's tie-breaker is larger than or equal
to the contents of the ICE-CONTROLLED attribute
-> change ROLE */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment