Ignore:
Timestamp:
Jun 26, 2013 8:07:14 AM (11 years ago)
Author:
bennylp
Message:

Re #1630: fixed bug with via_rewrite feature. The via address is not updated on second IP change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r4543 r4545  
    14551455     */ 
    14561456    if (acc->cfg.allow_via_rewrite && 
    1457         (acc->via_addr.host.slen == 0 || acc->via_tp != tp)) 
     1457        (pj_strcmp(&acc->via_addr.host, via_addr) || acc->via_tp != tp)) 
    14581458    { 
    14591459        if (pj_strcmp(&acc->via_addr.host, via_addr)) 
Note: See TracChangeset for help on using the changeset viewer.