mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-23 03:49:23 +00:00
Fixed typo
This commit is contained in:
parent
60a8538e0c
commit
61ac90f1d5
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ void TCPServer<READ_BUF_SIZE, WRITE_BUF_SIZE>::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 {
|
||||
|
|
Loading…
Reference in a new issue