From cc6582e6c5a61c6a05107c3fd2f9a11f338683c0 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 4 Oct 2024 20:22:53 +0700 Subject: [PATCH] 0 is a valid port number, it means assign one --- xpra/net/socket_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpra/net/socket_util.py b/xpra/net/socket_util.py index 4d28fa3042..e7ffefcc53 100644 --- a/xpra/net/socket_util.py +++ b/xpra/net/socket_util.py @@ -528,7 +528,7 @@ def parse_bind_ip(bind_ip:str, default_port:int=DEFAULT_PORT): else: try: iport = int(port) - assert 0