VirtualBox

Changeset 17690 in vbox


Ignore:
Timestamp:
Mar 11, 2009 12:43:27 PM (16 years ago)
Author:
vboxsync
Message:

Fixed the issue with composeIPv6PrefixLenghFromAddress always returning -1.

File:
1 edited

Legend:

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

    r17688 r17690  
    104104DECLINLINE(ULONG) composeIPv6PrefixLenghFromAddress(PRTNETADDRIPV6 aAddrPtr)
    105105{
    106     return ASMBitFirstClear(aAddrPtr, sizeof(RTNETADDRIPV6));
     106    return ASMBitFirstClear(aAddrPtr, sizeof(RTNETADDRIPV6)*8);
    107107}
    108108
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