Changeset 5888 for pjproject


Ignore:
Timestamp:
Sep 19, 2018 10:43:00 AM (6 years ago)
Author:
riza
Message:

Re #2150: Add local address to pjsip_tls_on_accept_fail_param.

Location:
pjproject/trunk/pjsip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h

    r5885 r5888  
    7979 */ 
    8080typedef struct pjsip_tls_on_accept_fail_param { 
     81    /** 
     82     * Local address of the fail accept operation of the TLS listener. 
     83     */ 
     84    const pj_sockaddr_t *local_addr; 
     85 
    8186    /** 
    8287     * Remote address of the fail accept operation of the TLS listener. 
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c

    r5885 r5888  
    13271327            pj_bzero(&param, sizeof(param)); 
    13281328            param.status = accept_status; 
     1329            param.local_addr = &listener->factory.local_addr; 
    13291330            param.remote_addr = src_addr; 
    13301331            (*listener->tls_setting.on_accept_fail_cb) (&param); 
     
    13411342            pj_bzero(&param, sizeof(param)); 
    13421343            param.status = PJSIP_TLS_EACCEPT; 
     1344            param.local_addr = &listener->factory.local_addr; 
    13431345            param.remote_addr = src_addr; 
    13441346            (*listener->tls_setting.on_accept_fail_cb) (&param); 
     
    13671369            pj_bzero(&param, sizeof(param)); 
    13681370            param.status = status; 
     1371            param.local_addr = &listener->factory.local_addr; 
    13691372            param.remote_addr = src_addr; 
    13701373            (*listener->tls_setting.on_accept_fail_cb) (&param); 
     
    13891392            pj_bzero(&param, sizeof(param)); 
    13901393            param.status = status; 
     1394            param.local_addr = &listener->factory.local_addr; 
    13911395            param.remote_addr = src_addr; 
    13921396            (*listener->tls_setting.on_accept_fail_cb) (&param); 
Note: See TracChangeset for help on using the changeset viewer.