mirror of
https://github.com/safing/portmaster
synced 2025-09-10 06:14:41 +00:00
Add IP scoping data to entity.Entity and network.Connection
This commit is contained in:
parent
eb22636c8e
commit
43cfba8445
10 changed files with 92 additions and 63 deletions
|
@ -130,7 +130,7 @@ next:
|
|||
}
|
||||
|
||||
// If we received something from a global IP address, we have succeeded and can return immediately.
|
||||
if netutils.IPIsGlobal(addr.IP) {
|
||||
if netutils.GetIPScope(addr.IP).IsGlobal() {
|
||||
return addr.IP, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue