From 61ac90f1d5cd6f8656b8d33dd43f439f092ff66b Mon Sep 17 00:00:00 2001 From: SChernykh Date: Wed, 13 Oct 2021 14:56:27 +0200 Subject: [PATCH] Fixed typo --- src/tcp_server.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcp_server.inl b/src/tcp_server.inl index aa438b0..f841902 100644 --- a/src/tcp_server.inl +++ b/src/tcp_server.inl @@ -101,7 +101,7 @@ void TCPServer::parse_address_list(const std::str } const int port = atoi(address.substr(k2 + 1).c_str()); - if ((port > 0) && (port < 655356)) { + if ((port > 0) && (port < 65536)) { callback(is_v6, address, ip, port); } else {