ui work
This commit is contained in:
parent
68b4dd636e
commit
f3330e7589
@ -737,12 +737,12 @@ impl RoutingTableInner {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let public_internet_ready = matches!(
|
let public_internet_ready = !matches!(
|
||||||
self.get_network_class(RoutingDomain::PublicInternet)
|
self.get_network_class(RoutingDomain::PublicInternet)
|
||||||
.unwrap_or_default(),
|
.unwrap_or_default(),
|
||||||
NetworkClass::Invalid
|
NetworkClass::Invalid
|
||||||
);
|
);
|
||||||
let local_network_ready = matches!(
|
let local_network_ready = !matches!(
|
||||||
self.get_network_class(RoutingDomain::LocalNetwork)
|
self.get_network_class(RoutingDomain::LocalNetwork)
|
||||||
.unwrap_or_default(),
|
.unwrap_or_default(),
|
||||||
NetworkClass::Invalid
|
NetworkClass::Invalid
|
||||||
|
Loading…
Reference in New Issue
Block a user