mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Fix geopip lookup for IPv6 addresses
This commit is contained in:
parent
fc2faa247a
commit
7ce9283421
3 changed files with 2 additions and 4 deletions
|
@ -5719,8 +5719,6 @@ class WebInterface(object):
|
|||
message = 'No IP address provided.'
|
||||
elif not helpers.is_valid_ip(ip_address):
|
||||
message = 'Invalid IP address provided: %s' % ip_address
|
||||
elif not helpers.is_public_ip(ip_address):
|
||||
message = 'Non-public IP address provided: %s' % ip_address
|
||||
|
||||
if message:
|
||||
return {'result': 'error', 'message': message}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue