From b8dc579555f648c5721c053dfa0a0ab21b6195d0 Mon Sep 17 00:00:00 2001
From: Philip ABBET <philip.abbet@idiap.ch>
Date: Mon, 12 Dec 2016 14:51:18 +0100
Subject: [PATCH] Fix the previous commit for OSX

---
 beat/core/dock.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/beat/core/dock.py b/beat/core/dock.py
index 57e415f2..3959a5be 100755
--- a/beat/core/dock.py
+++ b/beat/core/dock.py
@@ -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]
 
 
-- 
GitLab