[asterisk-scf-commits] asterisk-scf/release/pjproject.git branch "veesix" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Nov 30 16:34:38 CST 2010


branch "veesix" has been updated
       via  98182890c2ce1de82d160a6f7106a2c2a6179b27 (commit)
      from  75bee31e37f0577952c635e00223593aaf93d2c6 (commit)

Summary of changes:
 pjlib/src/pj/sock_common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 98182890c2ce1de82d160a6f7106a2c2a6179b27
Author: Mark Michelson <mmichelson at digium.com>
Date:   Tue Nov 30 16:39:44 2010 -0600

    Adjust the weight of link local addresses so that they are not chosen by pjlib.

diff --git a/pjlib/src/pj/sock_common.c b/pjlib/src/pj/sock_common.c
index f7412e3..141fad7 100644
--- a/pjlib/src/pj/sock_common.c
+++ b/pjlib/src/pj/sock_common.c
@@ -702,7 +702,7 @@ PJ_DEF(pj_status_t) pj_gethostip(int af, pj_sockaddr *addr)
 	WEIGHT_DEF_ROUTE = 2,
 	WEIGHT_INTERFACE = 1,
 	WEIGHT_LOOPBACK = -5,
-	WEIGHT_LINK_LOCAL = -4,
+	WEIGHT_LINK_LOCAL = -51,
 	WEIGHT_DISABLED = -50,
 
 	MIN_WEIGHT = WEIGHT_DISABLED+1	/* minimum weight to use */

-----------------------------------------------------------------------


-- 
asterisk-scf/release/pjproject.git



More information about the asterisk-scf-commits mailing list