mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
parent
994ebfc680
commit
f2a664953c
1 changed files with 1 additions and 1 deletions
|
@ -705,7 +705,7 @@ def sanitize(obj):
|
||||||
|
|
||||||
def is_public_ip(host):
|
def is_public_ip(host):
|
||||||
ip = is_valid_ip(get_ip(host))
|
ip = is_valid_ip(get_ip(host))
|
||||||
if ip and ip.iptype() == 'PUBLIC':
|
if ip and (ip.iptype() == 'PUBLIC' or ip.version() == 6):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue