Changeset 4559 for pjproject


Ignore:
Timestamp:
Jul 12, 2013 5:01:38 AM (11 years ago)
Author:
ming
Message:

Fixed #1689: The bound address is not updated when UDP transport is restarted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_udp.c

    r4537 r4559  
    10591059        } 
    10601060 
     1061        /* Init local address. */ 
     1062        status = pj_sock_getsockname(sock, &tp->base.local_addr,  
     1063                                     &tp->base.addr_len); 
     1064        if (status != PJ_SUCCESS) 
     1065            return status; 
     1066 
    10611067        /* Assign the socket and published address to transport. */ 
    10621068        udp_set_socket(tp, sock, a_name); 
Note: See TracChangeset for help on using the changeset viewer.