VirtualBox

Changeset 17697 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Mar 11, 2009 2:20:23 PM (16 years ago)
Author:
vboxsync
Message:

NetIf/win fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/netif.h

    r17690 r17697  
    104104DECLINLINE(ULONG) composeIPv6PrefixLenghFromAddress(PRTNETADDRIPV6 aAddrPtr)
    105105{
    106     return ASMBitFirstClear(aAddrPtr, sizeof(RTNETADDRIPV6)*8);
     106    int res = ASMBitFirstClear(aAddrPtr, sizeof(RTNETADDRIPV6));
     107    return res != -1 ? res : 128;
    107108}
    108109
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette