mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Fix IPv6 typo
This commit is contained in:
parent
9b975ea28d
commit
3bb602104c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user