Changeset 5322
- Timestamp:
- May 26, 2016 6:03:43 AM (9 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsua-lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r5311 r5322 2012 2012 if (/*pjsua_var.stun_srv.ipv4.sin_family == 0 ||*/ 2013 2013 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) 2016 2016 { 2017 2017 /* Keep alive is not necessary */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r5311 r5322 2449 2449 PJSUA_LOCK(); 2450 2450 2451 if ((t->type & PJSIP_TRANSPORT_UDP) == PJSIP_TRANSPORT_UDP) {2451 if ((t->type & ~PJSIP_TRANSPORT_IPV6) == PJSIP_TRANSPORT_UDP) { 2452 2452 2453 2453 pjsip_transport *tp = t->data.tp; … … 2470 2470 status = PJ_SUCCESS; 2471 2471 2472 } else if ((t->type & PJSIP_TRANSPORT_TCP) == PJSIP_TRANSPORT_TCP ||2473 (t->type & PJSIP_TRANSPORT_TLS) == PJSIP_TRANSPORT_TLS)2472 } else if ((t->type & ~PJSIP_TRANSPORT_IPV6) == PJSIP_TRANSPORT_TCP || 2473 (t->type & ~PJSIP_TRANSPORT_IPV6) == PJSIP_TRANSPORT_TLS) 2474 2474 { 2475 2475
Note: See TracChangeset
for help on using the changeset viewer.