Skip to content

Commit

Permalink
Change IP check service to IPv4 only, PTC does not work over IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
JabLuszko authored Nov 29, 2023
1 parent bf47ccb commit f89e931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapadroid/utils/walkerArgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def parse_args():
dest='autoconfig_no_auth')

# PTC Login tracking
parser.add_argument('-ips', '--ip_service', default='http://ifconfig.me',
parser.add_argument('-ips', '--ip_service', default='http://checkip.amazonaws.com',
help=('Host to use to request the external IPv4 address of the device. '
'MAD will search for the first IPv4 address via regex.'))
parser.add_argument('-elt', '--enable_login_tracking', action='store_true', default=False,
Expand Down

0 comments on commit f89e931

Please sign in to comment.