Ticket #14855: ignore_lla.patch
| File ignore_lla.patch, 1.0 KB (added by , 9 years ago) |
|---|
-
src/VBox/Main/src-server/linux/NetIf-linux.cpp
189 189 } 190 190 if (!strcmp(Req.ifr_name, szName)) 191 191 { 192 uint32_t prefix = pInfo->IPv6Address.au32[0] & 0xff; 193 uint32_t new_prefix = htonl(IPv6Address.au32[0]) & 0xff; 194 if (prefix && (prefix != 0xfe) && (new_prefix == 0xfe)) { 195 // Do not overwrite a non-link local address with a 196 // link local address as there may be multiple entries 197 continue; 198 } 192 199 pInfo->IPv6Address.au32[0] = htonl(IPv6Address.au32[0]); 193 200 pInfo->IPv6Address.au32[1] = htonl(IPv6Address.au32[1]); 194 201 pInfo->IPv6Address.au32[2] = htonl(IPv6Address.au32[2]);

