Merge changes I33bc80cc,Ie84e2cd4
* changes: EthernetManagerTest: update tests that bring up tap without carrier TestNetworkService: use IFF_NO_CARRIER to bring up iface without carrier
This commit is contained in:
@@ -260,7 +260,7 @@ public class TestNetworkManager {
|
||||
/**
|
||||
* Create a tap interface with or without carrier for testing purposes.
|
||||
*
|
||||
* Note: setting carrierUp = false is not supported until kernel version 5.0.
|
||||
* Note: setting carrierUp = false is not supported until kernel version 6.0.
|
||||
*
|
||||
* @param carrierUp whether the created interface has a carrier or not.
|
||||
* @param bringUp whether to bring up the interface before returning it.
|
||||
@@ -280,6 +280,8 @@ public class TestNetworkManager {
|
||||
/**
|
||||
* Create a tap interface for testing purposes.
|
||||
*
|
||||
* Note: setting carrierUp = false is not supported until kernel version 6.0.
|
||||
*
|
||||
* @param carrierUp whether the created interface has a carrier or not.
|
||||
* @param bringUp whether to bring up the interface before returning it.
|
||||
* @param disableIpv6ProvisioningDelay whether to disable DAD and RS delay.
|
||||
|
||||
Reference in New Issue
Block a user