Ignore:
Timestamp:
Jun 8, 2016 2:49:56 AM (8 years ago)
Author:
nanang
Message:

Close #1926: Support IPv6 address resolution without DNS resolver.

File:
1 edited

Legend:

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

    r4888 r5337  
    10161016    if (status != PJ_SUCCESS) 
    10171017        return status; 
     1018 
     1019    /* If transport selector is set, set destination type accordingly */ 
     1020    if (tdata->tp_sel.type != PJSIP_TPSELECTOR_NONE && tdata->tp_sel.u.ptr) { 
     1021        if (tdata->tp_sel.type == PJSIP_TPSELECTOR_TRANSPORT) 
     1022            dest_info->type = tdata->tp_sel.u.transport->key.type; 
     1023        else if (tdata->tp_sel.type == PJSIP_TPSELECTOR_LISTENER) 
     1024            dest_info->type = tdata->tp_sel.u.listener->type; 
     1025    } 
    10181026 
    10191027    /* If target URI is different than request URI, replace  
Note: See TracChangeset for help on using the changeset viewer.