Ignore:
Timestamp:
Mar 18, 2007 5:39:27 PM (14 years ago)
Author:
bennylp
Message:

Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs

File:
1 edited

Legend:

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

    r974 r1080  
    568568    pj_memcpy(&tdata->tp_info.dst_addr, addr, addr_len); 
    569569    tdata->tp_info.dst_addr_len = addr_len; 
    570     if (((pj_sockaddr*)addr)->sa_family == PJ_AF_INET) { 
     570    if (((pj_sockaddr*)addr)->addr.sa_family == PJ_AF_INET) { 
    571571        const char *str_addr; 
    572572        str_addr = pj_inet_ntoa(((pj_sockaddr_in*)addr)->sin_addr); 
     
    13621362             */ 
    13631363            else if ((flag & PJSIP_TRANSPORT_DATAGRAM) &&  
    1364                      (remote_addr->sa_family == PJ_AF_INET))  
     1364                     (remote_addr->addr.sa_family == PJ_AF_INET))  
    13651365            { 
    13661366                pj_sockaddr_in *addr = (pj_sockaddr_in*)&key.addr; 
Note: See TracChangeset for help on using the changeset viewer.