Ignore:
Timestamp:
Dec 2, 2007 3:40:52 PM (15 years ago)
Author:
bennylp
Message:

More ticket #421: fixed SIP messaging components to support IPv6 format

File:
1 edited

Legend:

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

    r1602 r1610  
    273273PJ_DEF(int) pjsip_transport_type_get_af(pjsip_transport_type_e type) 
    274274{ 
    275     if (type | PJSIP_TRANSPORT_IPV6) 
     275    if (type & PJSIP_TRANSPORT_IPV6) 
    276276        return pj_AF_INET6(); 
    277277    else 
     
    11591159    } 
    11601160 
    1161     return PJ_SUCCESS; 
     1161    return status; 
    11621162} 
    11631163 
Note: See TracChangeset for help on using the changeset viewer.