This commit is contained in:
John Smith 2022-12-27 14:51:28 -05:00
parent 68b4dd636e
commit f3330e7589

View File

@ -737,12 +737,12 @@ impl RoutingTableInner {
}
}
let public_internet_ready = matches!(
let public_internet_ready = !matches!(
self.get_network_class(RoutingDomain::PublicInternet)
.unwrap_or_default(),
NetworkClass::Invalid
);
let local_network_ready = matches!(
let local_network_ready = !matches!(
self.get_network_class(RoutingDomain::LocalNetwork)
.unwrap_or_default(),
NetworkClass::Invalid