• Julien Muchembled's avatar
    Fix crash caused by buggy UPnP · 2938a7c6
    Julien Muchembled authored
    gaierror: [Errno -2] Name or service not known
    Traceback (most recent call last):
     File "re6st/cli/node.py", line 271, in main
       remote_gateway, config.disable_proto, config.neighbour)
     File "re6st/tunnel.py", line 663, in __init__
       cache, cert, address)
     File "re6st/tunnel.py", line 236, in __init__
       self._updateCountry(address)
     File "re6st/tunnel.py", line 643, in _updateCountry
       family, ip = resolve(*address)
     File "re6st/tunnel.py", line 30, in resolve
       for x in socket.getaddrinfo(ip, port, family, 0, proto))
    
    where ip is '-a'
    2938a7c6
upnpigd.py 4.14 KB