Merge branch 'evenTypo2023-09-28' into 'main'

Fix "in the even we" in public_address_check.rs

See merge request veilid/veilid!208
This commit is contained in:
Christien Rioux 2023-09-29 19:54:26 +00:00
commit 0528eda9ff

View File

@ -167,7 +167,7 @@ impl NetworkManager {
for (reporting_ip_block, a) in pacc { for (reporting_ip_block, a) in pacc {
// If this address is not one of our current addresses (inconsistent) // If this address is not one of our current addresses (inconsistent)
// and we haven't already denylisted the reporting source, // and we haven't already denylisted the reporting source,
// Also check address with port zero in the even we are only checking changes to ip addresses // Also check address with port zero in the event we are only checking changes to ip addresses
if !current_addresses.contains(a) if !current_addresses.contains(a)
&& !current_addresses.contains(&a.with_port(0)) && !current_addresses.contains(&a.with_port(0))
&& !inner && !inner