Ignore:
Timestamp:
Dec 5, 2007 4:09:59 AM (16 years ago)
Author:
bennylp
Message:

Fixed error when creating TLS transport in pjsua-lib (the TLS type was misidentified was UDP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r1615 r1618  
    13471347 
    13481348    /* Create the transport */ 
    1349     if (type & PJSIP_TRANSPORT_UDP) { 
     1349    if (type==PJSIP_TRANSPORT_UDP || type==PJSIP_TRANSPORT_UDP6) { 
    13501350        /* 
    13511351         * Create UDP transport (IPv4 or IPv6). 
     
    14081408#if defined(PJ_HAS_TCP) && PJ_HAS_TCP!=0 
    14091409 
    1410     } else if (type == PJSIP_TRANSPORT_TCP) { 
     1410    } else if (type == PJSIP_TRANSPORT_TCP || type == PJSIP_TRANSPORT_TCP6) { 
    14111411        /* 
    14121412         * Create TCP transport. 
Note: See TracChangeset for help on using the changeset viewer.