summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@ktknet.cz>2015-09-02 16:43:02 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-09-02 16:43:32 +0100
commit181ad3a9bf54b9d6c4e0921ae148bab6d9fd0b3a (patch)
tree5ebb38cb8c627054aa0430d683fe209eaea1110b
parent799b322d6c654b864b5442cdaaa62aaee81d4901 (diff)
downloadlibnice-181ad3a9bf54b9d6c4e0921ae148bab6d9fd0b3a.tar.gz
candidate: use distinct priority also for non-MS compatibilities
Maniphest Tasks: T3324 Reviewers: pwithnall Projects: #libnice Reviewed By: pwithnall Differential Revision: https://phabricator.freedesktop.org/D239
-rw-r--r--agent/candidate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/candidate.c b/agent/candidate.c
index 9ce8aa1..0277a79 100644
--- a/agent/candidate.c
+++ b/agent/candidate.c
@@ -216,7 +216,8 @@ nice_candidate_ice_local_preference (const NiceCandidate *candidate)
break;
}
- return nice_candidate_ice_local_preference_full (direction_preference, 1);
+ return nice_candidate_ice_local_preference_full (direction_preference,
+ nice_candidate_ip_local_preference (candidate));
}
static guint32