Ignore:
Timestamp:
May 26, 2016 6:03:43 AM (5 years ago)
Author:
ming
Message:

Re #1921: Fixed wrong checks in determining IPv6 transport types

File:
1 edited

Legend:

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

    r5311 r5322  
    20122012        if (/*pjsua_var.stun_srv.ipv4.sin_family == 0 ||*/ 
    20132013            acc->cfg.ka_interval == 0 || 
    2014             (param->rdata->tp_info.transport->key.type & PJSIP_TRANSPORT_UDP)!= 
    2015              PJSIP_TRANSPORT_UDP) 
     2014            (param->rdata->tp_info.transport->key.type &   
     2015             ~PJSIP_TRANSPORT_IPV6)!= PJSIP_TRANSPORT_UDP) 
    20162016        { 
    20172017            /* Keep alive is not necessary */ 
Note: See TracChangeset for help on using the changeset viewer.