Commit 799b322d authored by Jakub Adam's avatar Jakub Adam Committed by Philip Withnall

conncheck: give temporary candidate_priority a base_addr

Summary:
Fixes "(nice_address_to_string): should not be reached" errors when calling nice_candidate_ms_ice_priority() because of invalid NiceAddress.

Maniphest Tasks: T3324

Reviewers: pwithnall

Projects: #libnice

Reviewed By: pwithnall

Subscribers: pwithnall

Differential Revision: https://phabricator.freedesktop.org/D238
parent 85cd01c1
......@@ -579,6 +579,7 @@ static guint32 peer_reflexive_candidate_priority (NiceAgent *agent,
candidate_priority->transport = local_candidate->transport;
candidate_priority->component_id = local_candidate->component_id;
candidate_priority->base_addr = local_candidate->addr;
if (agent->compatibility == NICE_COMPATIBILITY_GOOGLE) {
priority = nice_candidate_jingle_priority (candidate_priority);
} else if (agent->compatibility == NICE_COMPATIBILITY_MSN ||
......
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