diff options
author | Jakub Adam <jakub.adam@ktknet.cz> | 2015-09-02 16:41:49 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-09-02 16:43:30 +0100 |
commit | 799b322d6c654b864b5442cdaaa62aaee81d4901 (patch) | |
tree | a1d1f0241b701fe5d4226ccd556ca158e59d8def /agent/conncheck.c | |
parent | 85cd01c1396ef244f90e0d9c995fab29ed121f23 (diff) | |
download | libnice-799b322d6c654b864b5442cdaaa62aaee81d4901.tar.gz |
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
Diffstat (limited to 'agent/conncheck.c')
-rw-r--r-- | agent/conncheck.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/conncheck.c b/agent/conncheck.c index 33491bf..1b687b6 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -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 || |