mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
Reporting: Traffic - back to 0d7b9fd34f as is_private is easier on the eyes
This commit is contained in:
parent
67f6aeed2b
commit
c2d7cae6c3
@ -150,7 +150,7 @@ if __name__ == '__main__':
|
||||
ip = ipaddress.ip_address(parts[0])
|
||||
if ip in all_local_addresses:
|
||||
item['tags'].append('local')
|
||||
if not ip.is_global:
|
||||
if ip.is_private:
|
||||
item['tags'].append('private')
|
||||
except subprocess.TimeoutExpired:
|
||||
pass
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user