Changeset 5998


Ignore:
Timestamp:
May 23, 2019 1:18:22 AM (17 months ago)
Author:
ming
Message:

Re #2198: Fixed wrong check that can return both IPv4 and IPv6 addresses

File:
1 edited

Legend:

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

    r5995 r5998  
    298298                        unsigned idx = 0; 
    299299                         
    300                         if (target->type == PJSIP_TRANSPORT_UNSPECIFIED) { 
     300                        if (af != pj_AF_INET6()) { 
     301                            /* Return IPv4 and IPv6 addresses */ 
    301302                            idx = 1; 
    302303                            svr_addr.count++; 
Note: See TracChangeset for help on using the changeset viewer.