Changeset 85248 in vbox
- Timestamp:
- Jul 11, 2020 11:09:44 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostNetworkInterfaceImpl.cpp
r83794 r85248 258 258 m.realIPV6Address = m.IPV6Address = Utf8Str::Empty; 259 259 RTNetMaskToPrefixIPv6(&info.IPv6NetMask, &iPrefixIPv6); 260 m.realIPV6PrefixLength = m.IPV6NetworkMaskPrefixLength = iPrefixIPv6;260 m.realIPV6PrefixLength = m.IPV6NetworkMaskPrefixLength = (ULONG)iPrefixIPv6; 261 261 m.hardwareAddress = Utf8StrFmt("%RTmac", &info.MACAddress); 262 262 AssertCompile((unsigned)NETIF_T_UNKNOWN == (unsigned)HostNetworkInterfaceMediumType_Unknown); … … 318 318 m.realIPV6Address = m.IPV6Address = Utf8Str::Empty; 319 319 RTNetMaskToPrefixIPv6(&pIf->IPv6NetMask, &iPrefixIPv6); 320 m.realIPV6PrefixLength = m.IPV6NetworkMaskPrefixLength = iPrefixIPv6;320 m.realIPV6PrefixLength = m.IPV6NetworkMaskPrefixLength = (ULONG)iPrefixIPv6; 321 321 m.dhcpEnabled = pIf->fDhcpEnabled; 322 322 m.hardwareAddress = Utf8StrFmt("%RTmac", &pIf->MACAddress);
Note:
See TracChangeset
for help on using the changeset viewer.