Commit b8dc5795 authored by Philip ABBET's avatar Philip ABBET
Browse files

Fix the previous commit for OSX

parent 6d7769d4
Pipeline #5782 failed with stage
in 18 minutes and 17 seconds
......@@ -109,7 +109,7 @@ class Host(object):
def ip(self):
'''The IP address of the docker host'''
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.connect(('8.8.8.8', 0)) # connecting to a UDP address doesn't send packets
s.connect(('8.8.8.8', 1)) # connecting to a UDP address doesn't send packets
return s.getsockname()[0]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment