Ignore:
Timestamp:
Jun 11, 2015 12:12:21 PM (9 years ago)
Author:
nanang
Message:

Misc (re #1843): Updated SIP transport TCP & TLS to get server local address info using getsockname() instead of using the listener address.

File:
1 edited

Legend:

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

    r5090 r5105  
    12101210     */ 
    12111211    status = tls_create( listener, NULL, new_ssock, PJ_TRUE, 
    1212                          &listener->factory.local_addr, 
    1213                          &tmp_src_addr, NULL, &tls); 
     1212                         &ssl_info.local_addr, &tmp_src_addr, NULL, &tls); 
    12141213     
    12151214    if (status != PJ_SUCCESS) 
Note: See TracChangeset for help on using the changeset viewer.