Fix "in the even we" in public_address_check.rs

This fixes a wordo (even for event) in public_address_check.rs.
This commit is contained in:
Haley Weslin 2023-09-29 01:32:45 +00:00
parent bd4b4233bf
commit b8980756b2

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