Rev3808, Use cjdns compatible ipv6 address to test route

This commit is contained in:
shortcutme 2019-01-23 14:21:25 +01:00
parent 31376ee2fd
commit 4d60c61512
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ class Config(object):
def __init__(self, argv): def __init__(self, argv):
self.version = "0.6.4" self.version = "0.6.4"
self.rev = 3807 self.rev = 3808
self.argv = argv self.argv = argv
self.action = None self.action = None
self.pending_changes = {} self.pending_changes = {}

View file

@ -96,7 +96,7 @@ class FileServer(ConnectionServer):
def isIpv6Supported(self): def isIpv6Supported(self):
# Test if we can connect to ipv6 address # Test if we can connect to ipv6 address
ipv6_testip = "2001:19f0:6c01:e76:5400:1ff:fed6:3eca" ipv6_testip = "fcec:ae97:8902:d810:6c92:ec67:efb2:3ec5"
try: try:
sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM) sock = socket.socket(socket.AF_INET6, socket.SOCK_DGRAM)
sock.connect((ipv6_testip, 80)) sock.connect((ipv6_testip, 80))