Changeset 67390 in vbox for trunk/src/VBox/Main/src-server/win/NetIf-win.cpp
- Timestamp:
- Jun 14, 2017 11:44:32 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/NetIf-win.cpp
r66646 r67390 168 168 { 169 169 fIPFound = true; 170 ASMBitSetRange(&pInfo->IPNetMask, 0, pPrefix->PrefixLength);170 RTNetPrefixToMaskIPv4(pPrefix->PrefixLength, &pInfo->IPNetMask); 171 171 } 172 172 else … … 1697 1697 { 1698 1698 uPrefixLenV4 = pPrefix->PrefixLength; 1699 ASMBitSetRange(&pInfo->IPNetMask, 0, pPrefix->PrefixLength);1699 RTNetPrefixToMaskIPv4(pPrefix->PrefixLength, &pInfo->IPNetMask); 1700 1700 } 1701 1701 else … … 1762 1762 netIfLog(("netIfFillInfoWithAddresses: Invalid IPv4 prefix length of %d\n", pAddrLh->OnLinkPrefixLength)); 1763 1763 else 1764 ASMBitSetRange(&pInfo->IPNetMask, 0, pAddrLh->OnLinkPrefixLength);1764 RTNetPrefixToMaskIPv4(pAddrLh->OnLinkPrefixLength, &pInfo->IPNetMask); 1765 1765 } 1766 1766 break;
Note:
See TracChangeset
for help on using the changeset viewer.