Ignore:
Timestamp:
Mar 4, 2009 12:56:32 PM (10 years ago)
Author:
bennylp
Message:

Ticket #742: Change in mapped/STUN IP address does not update ICE srflx candidate (thanks Alexei Kuznetsov for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_sock.c

    r2394 r2484  
    670670        pj_sockaddr_cp(&stun_sock->mapped_addr, &mapped_attr->sockaddr); 
    671671 
    672         resched = (*stun_sock->cb.on_status)(stun_sock, op, PJ_SUCCESS); 
    673  
    674         goto on_return; 
    675     } 
     672        if (op==PJ_STUN_SOCK_KEEP_ALIVE_OP) 
     673            op = PJ_STUN_SOCK_MAPPED_ADDR_CHANGE; 
     674    } 
     675 
     676    /* Notify user */ 
     677    resched = (*stun_sock->cb.on_status)(stun_sock, op, PJ_SUCCESS); 
    676678 
    677679on_return: 
Note: See TracChangeset for help on using the changeset viewer.