Compatibility with IPv6 based interfaces

This commit is contained in:
Mark Qvist 2021-12-08 20:45:41 +01:00
parent 2e0dd278b6
commit 3d49076602
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ class UDPInterface(Interface):
self.owner = owner
address = (self.bind_ip, self.bind_port)
socketserver.UDPServer.address_family = socket.AF_INET
self.server = socketserver.UDPServer(address, handlerFactory(self.processIncoming))
thread = threading.Thread(target=self.server.serve_forever)