Ignore:
Timestamp:
Oct 16, 2008 8:14:51 AM (16 years ago)
Author:
bennylp
Message:

Ticket #665: Wrong Contact URI generated when TLS transport is used

File:
1 edited

Legend:

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

    r2325 r2351  
    368368 
    369369    /* Don't add transport parameter if it's UDP */ 
    370     if ((t->type & PJSIP_TRANSPORT_UDP) == 0) { 
     370    if (t->type!=PJSIP_TRANSPORT_UDP && t->type!=PJSIP_TRANSPORT_UDP6) { 
    371371        pj_ansi_snprintf(transport_param, sizeof(transport_param), 
    372372                         ";transport=%s", 
     
    16521652 
    16531653    /* Don't add transport parameter if it's UDP */ 
    1654     if ((tp_type & PJSIP_TRANSPORT_UDP) == 0) { 
     1654    if (tp_type!=PJSIP_TRANSPORT_UDP && tp_type!=PJSIP_TRANSPORT_UDP6) { 
    16551655        pj_ansi_snprintf(transport_param, sizeof(transport_param), 
    16561656                         ";transport=%s", 
     
    18021802 
    18031803    /* Don't add transport parameter if it's UDP */ 
    1804     if ((tp_type & PJSIP_TRANSPORT_UDP) == 0) { 
     1804    if (tp_type!=PJSIP_TRANSPORT_UDP && tp_type!=PJSIP_TRANSPORT_UDP6) { 
    18051805        pj_ansi_snprintf(transport_param, sizeof(transport_param), 
    18061806                         ";transport=%s", 
Note: See TracChangeset for help on using the changeset viewer.