Ignore:
Timestamp:
Mar 4, 2009 12:56:32 PM (15 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/ice_strans.c

    r2394 r2484  
    12661266        break; 
    12671267    case PJ_STUN_SOCK_BINDING_OP: 
     1268    case PJ_STUN_SOCK_MAPPED_ADDR_CHANGE: 
    12681269        if (status == PJ_SUCCESS) { 
    12691270            pj_stun_sock_info info; 
     
    12721273            if (status == PJ_SUCCESS) { 
    12731274                char ipaddr[PJ_INET6_ADDRSTRLEN+10]; 
     1275                const char *op_name = (op==PJ_STUN_SOCK_BINDING_OP) ? 
     1276                                    "Binding discovery complete" : 
     1277                                    "srflx address changed"; 
    12741278                pj_bool_t dup = PJ_FALSE; 
    12751279 
     
    13091313 
    13101314                PJ_LOG(4,(comp->ice_st->obj_name,  
    1311                           "Comp %d: Binding discovery complete, " 
     1315                          "Comp %d: %s, " 
    13121316                          "srflx address is %s", 
    1313                           comp->comp_id,  
     1317                          comp->comp_id, op_name,  
    13141318                          pj_sockaddr_print(&info.mapped_addr, ipaddr,  
    13151319                                             sizeof(ipaddr), 3))); 
Note: See TracChangeset for help on using the changeset viewer.