Bug 1421393 - Skip some virtual interfaces (VMWare). r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D235476
This commit is contained in:
@@ -491,7 +491,10 @@ nsNotifyAddrListener::CheckAdaptersAddresses(void) {
|
|||||||
adapter = adapter->Next) {
|
adapter = adapter->Next) {
|
||||||
if (adapter->OperStatus != IfOperStatusUp ||
|
if (adapter->OperStatus != IfOperStatusUp ||
|
||||||
!adapter->FirstUnicastAddress ||
|
!adapter->FirstUnicastAddress ||
|
||||||
adapter->IfType == IF_TYPE_SOFTWARE_LOOPBACK) {
|
adapter->IfType == IF_TYPE_SOFTWARE_LOOPBACK ||
|
||||||
|
nsDependentString(adapter->FriendlyName).Find(u"VMnet") !=
|
||||||
|
kNotFound ||
|
||||||
|
nsDependentString(adapter->Description).Find(u"VMnet") != kNotFound) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user