Skip to content

Commit

Permalink
fix: Enable IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Jul 18, 2023
1 parent 44fa118 commit 438c3d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zibot/core/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ async def zmqBind(self):

if repPort:
self.repSocket = context.socket(zmq.REP)
self.repSocket.setsockopt(zmq.IPV6, True)
self.repSocket.bind(f"tcp://*:{repPort}")
self.socketTasks.append(asyncio.create_task(self.onZMQReceiveREQMessage()))

Expand Down

0 comments on commit 438c3d8

Please sign in to comment.