From 3bb602104c6d51159a17fb2a67c96f894921c966 Mon Sep 17 00:00:00 2001 From: Mike Place Date: Fri, 15 Aug 2014 14:30:44 -0600 Subject: [PATCH] Fix IPv6 typo --- salt/payload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/payload.py b/salt/payload.py index 9855730405..cc0b5868a2 100644 --- a/salt/payload.py +++ b/salt/payload.py @@ -171,7 +171,7 @@ class SREQ(object): zmq.RECONNECT_IVL_MAX, 5000 ) - if self.master.startswith('tcp://[') and hasattr(zmq, 'IPV4ONLY'): + if self.master.startswith('tcp://') and hasattr(zmq, 'IPV4ONLY'): # IPv6 sockets work for both IPv6 and IPv4 addresses self._socket.setsockopt(zmq.IPV4ONLY, 0) self._socket.linger = self.linger