Allow irrelevant info in DefaultNetworkMonitor as well
This commit is contained in:
@@ -38,7 +38,7 @@ object DefaultNetworkMonitor : UpstreamMonitor() {
|
||||
}
|
||||
|
||||
override fun onLinkPropertiesChanged(network: Network, properties: LinkProperties) {
|
||||
check(currentNetwork == network)
|
||||
if (currentNetwork != network) return
|
||||
val oldProperties = currentLinkProperties!!
|
||||
currentLinkProperties = properties
|
||||
val ifname = properties.interfaceName!!
|
||||
|
||||
Reference in New Issue
Block a user