From d4e950f17b98da8f52bd4c04731fc36d8f0b159b Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 4 Jul 2019 16:38:00 -0700 Subject: [PATCH] Don't use client port as default peer port --- src/i_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i_tcp.c b/src/i_tcp.c index fb0e5852d..f58aa22bc 100644 --- a/src/i_tcp.c +++ b/src/i_tcp.c @@ -1311,7 +1311,7 @@ static SINT8 SOCK_NetMakeNodewPort(const char *address, const char *port) int gaie; if (!port || !port[0]) - port = port_name; + port = DEFAULTPORT; DEBFILE(va("Creating new node: %s@%s\n", address, port));