"vscode:/vscode.git/clone" did not exist on "06c4873d959feb0d4cb062ef17cdd0dd09dbf10f"
Unverified Commit 038de04d authored by Russell Bryant's avatar Russell Bryant Committed by GitHub
Browse files

Fix zmq IPv6 URL format error (#15341)


Signed-off-by: default avatarRussell Bryant <rbryant@redhat.com>
parent 6b3cc75b
......@@ -233,6 +233,7 @@ class MessageQueue:
if is_valid_ipv6_address(connect_ip):
self.remote_socket.setsockopt(IPV6, 1)
remote_addr_ipv6 = True
connect_ip = f"[{connect_ip}]"
socket_addr = f"tcp://*:{remote_subscribe_port}"
self.remote_socket.bind(socket_addr)
remote_subscribe_addr = f"tcp://{connect_ip}:{remote_subscribe_port}"
......
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