networtInterfaces() optimized for maxos
This commit is contained in:
parent
06ae5eda46
commit
072f111095
@ -302,7 +302,9 @@ function testVirtualNic(iface, ifaceName, mac) {
|
||||
iface.toLowerCase().indexOf('vethernet ') > -1 ||
|
||||
ifaceName.toLowerCase().indexOf('vethernet ') > -1 ||
|
||||
iface.toLowerCase().startsWith('veth') ||
|
||||
ifaceName.toLowerCase().startsWith('veth ');
|
||||
ifaceName.toLowerCase().startsWith('veth') ||
|
||||
iface.toLowerCase().startsWith('vboxnet') ||
|
||||
ifaceName.toLowerCase().startsWith('vboxnet');
|
||||
} else return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user