Ignore:
Timestamp:
Jun 7, 2008 11:14:32 AM (16 years ago)
Author:
bennylp
Message:

Ignore 0.0.0.0/8 class IP address in interface enumeration function since this doesnt seem to have practical use for us (thanks Helmut Wolf)

File:
1 edited

Legend:

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

    r1743 r1996  
    205205            continue; 
    206206 
     207        /* Ignore 0.0.0.0/8 address. This is a special address 
     208         * which doesn't seem to have practical use. 
     209         */ 
     210        if ((pj_ntohl(pTab->table[i].dwAddr) >> 24) == 0) 
     211            continue; 
     212 
    207213#if PJ_IP_HELPER_IGNORE_LOOPBACK_IF 
    208214        /* Investigate the type of this interface */ 
Note: See TracChangeset for help on using the changeset viewer.