From 3d490766026d1dbb45eeb4da6ea549444769cb48 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 8 Dec 2021 20:45:41 +0100 Subject: [PATCH] Compatibility with IPv6 based interfaces --- RNS/Interfaces/UDPInterface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/RNS/Interfaces/UDPInterface.py b/RNS/Interfaces/UDPInterface.py index 98d52c0..07c5492 100644 --- a/RNS/Interfaces/UDPInterface.py +++ b/RNS/Interfaces/UDPInterface.py @@ -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)