From e5e95e2c1a602a31a969676576e0cf87479dd71c Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Wed, 27 Jul 2022 23:09:45 +0200 Subject: [PATCH] revert change in socket.py - does not need AF_INET6 --- owrx/socket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/socket.py b/owrx/socket.py index 3e64560..069a538 100644 --- a/owrx/socket.py +++ b/owrx/socket.py @@ -2,7 +2,7 @@ import socket def getAvailablePort(): - s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) + s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) s.listen(1) port = s.getsockname()[1]