From 312c8f5a2bf6c64db4b556fea15ceaaa7f357223 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 10 Apr 2023 11:28:02 -0700 Subject: [PATCH] port is token[3] --- reflector/InterlinkMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflector/InterlinkMap.cpp b/reflector/InterlinkMap.cpp index b51b416..d1cb570 100644 --- a/reflector/InterlinkMap.cpp +++ b/reflector/InterlinkMap.cpp @@ -81,7 +81,7 @@ bool CInterlinkMap::LoadFromFile(const std::string &filename) int port = 10017; if (token[3]) { - port = std::atoi(token[2]); + port = std::atoi(token[3]); if (port < 1024 || port > 49000) { std::cout << token[0] << " Port " << port << " is out of range, resetting to 10017." << std::endl;