VirtualBox

Changeset 67432 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 16, 2017 2:58:18 AM (8 years ago)
Author:
vboxsync
Message:

Main: Use RTNetPrefixToMaskIPv6() instead of incorrect ASMBitSetRange().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/linux/NetIf-linux.cpp

    r62485 r67432  
    194194                    pInfo->IPv6Address.au32[2] = htonl(IPv6Address.au32[2]);
    195195                    pInfo->IPv6Address.au32[3] = htonl(IPv6Address.au32[3]);
    196                     ASMBitSetRange(&pInfo->IPv6NetMask, 0, uLength);
     196                    RTNetPrefixToMaskIPv6(uLength, &pInfo->IPv6NetMask);
    197197                }
    198198            }
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