mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-25 23:39:22 -05:00
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:
commit
0528eda9ff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user