From 0a2eac682bbcf65f97f4ad1fc7b376646b17609c 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 fb0e5852..f58aa22b 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));