- Timestamp:
- Jun 27, 2017 10:46:55 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostNetworkInterfaceImpl.cpp
r67633 r67634 168 168 m.realNetworkMask = m.networkMask = info.IPNetMask.u; 169 169 m.dhcpEnabled = info.bDhcpEnabled; 170 m.realIPV6Address = m.IPV6Address = Bstr(Utf8StrFmt("%RTnaipv6", &info.IPv6Address)); 170 if (info.IPv6Address.s.Lo || info.IPv6Address.s.Hi) 171 m.realIPV6Address = m.IPV6Address = Bstr(Utf8StrFmt("%RTnaipv6", &info.IPv6Address)); 172 else 173 m.realIPV6Address = m.IPV6Address = Bstr(""); 171 174 RTNetMaskToPrefixIPv6(&info.IPv6NetMask, &iPrefixIPv6); 172 175 m.realIPV6PrefixLength = m.IPV6NetworkMaskPrefixLength = iPrefixIPv6; … … 227 230 m.realIPAddress = m.IPAddress = pIf->IPAddress.u; 228 231 m.realNetworkMask = m.networkMask = pIf->IPNetMask.u; 229 m.realIPV6Address = m.IPV6Address = Bstr(Utf8StrFmt("%RTnaipv6", &pIf->IPv6Address)); 232 if (pIf->IPv6Address.s.Lo || pIf->IPv6Address.s.Hi) 233 m.realIPV6Address = m.IPV6Address = Bstr(Utf8StrFmt("%RTnaipv6", &pIf->IPv6Address)); 234 else 235 m.realIPV6Address = m.IPV6Address = Bstr(""); 230 236 RTNetMaskToPrefixIPv6(&pIf->IPv6NetMask, &iPrefixIPv6); 231 237 m.realIPV6PrefixLength = m.IPV6NetworkMaskPrefixLength = iPrefixIPv6;
Note:
See TracChangeset
for help on using the changeset viewer.