Ignore:
Timestamp:
Jul 26, 2019 9:32:14 AM (5 years ago)
Author:
nanang
Message:

Close #2217: Omit deprecated IPv6 addresses from ICE candidates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ip_helper_win32.c

    r3553 r6045  
    380380} 
    381381 
     382 
     383/* 
     384 * Enumerate the local IP interface currently active in the host. 
     385 */ 
     386PJ_DEF(pj_status_t) pj_enum_ip_interface2( const pj_enum_ip_option *opt, 
     387                                           unsigned *p_cnt, 
     388                                           pj_sockaddr ifs[]) 
     389{ 
     390    pj_enum_ip_option opt_; 
     391 
     392    if (opt && opt->omit_deprecated_ipv6) 
     393        return PJ_ENOTSUP; 
     394 
     395    if (opt) 
     396        opt_ = *opt; 
     397    else 
     398        pj_enum_ip_option_default(&opt_); 
     399 
     400    return pj_enum_ip_interface(opt_.af, p_cnt, ifs); 
     401} 
     402 
     403 
    382404/* 
    383405 * Enumerate the IP routing table for this host. 
Note: See TracChangeset for help on using the changeset viewer.