summaryrefslogtreecommitdiff
path: root/pjnath/src
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2010-02-18 14:52:05 +0000
committerBenny Prijono <bennylp@teluu.com>2010-02-18 14:52:05 +0000
commitf6ea40d505ea7c472708dba4ab94ad28baedd9d0 (patch)
tree74f6623f5560573ce6f83c1090870fca1108b221 /pjnath/src
parent62db1feb6e87c6b7bef6a91be0f5d3859f9c0ea0 (diff)
Fixed minor bug (#1026): custom ICE priority table must not assign greater priority for SRFLX than PRFLX candidate type (thanks Saúl Ibarra Corretgé for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3101 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/src')
-rw-r--r--pjnath/src/pjnath/ice_strans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjnath/src/pjnath/ice_strans.c b/pjnath/src/pjnath/ice_strans.c
index b5608cb0..d53e5bf3 100644
--- a/pjnath/src/pjnath/ice_strans.c
+++ b/pjnath/src/pjnath/ice_strans.c
@@ -68,8 +68,8 @@ static pj_uint8_t srflx_pref_table[4] =
{
#if PJNATH_ICE_PRIO_STD
100, /**< PJ_ICE_HOST_PREF */
- 126, /**< PJ_ICE_SRFLX_PREF */
- 110, /**< PJ_ICE_PRFLX_PREF */
+ 110, /**< PJ_ICE_SRFLX_PREF */
+ 126, /**< PJ_ICE_PRFLX_PREF */
0 /**< PJ_ICE_RELAYED_PREF */
#else
/* Keep it to 2 bits */