forked from lthn/blockchain
Merge branch 'master' into develop
This commit is contained in:
parent
1f5c862168
commit
f13d3e7b35
2 changed files with 3 additions and 7 deletions
|
|
@ -684,12 +684,8 @@ std::string get_nix_version_display_string()
|
|||
|
||||
// got v_major, v_minor, v_revision
|
||||
|
||||
// allow 1.1.x and greater
|
||||
|
||||
if (v_major < 1)
|
||||
return false;
|
||||
|
||||
if (v_major == 1 && v_minor < 1)
|
||||
// allow 2.x and greater
|
||||
if (v_major < 2)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -525,7 +525,7 @@ namespace nodetool
|
|||
|
||||
if (!tools::check_remote_client_version(rsp.payload_data.client_version))
|
||||
{
|
||||
LOG_ERROR_CCONTEXT("COMMAND_HANDSHAKE Failed, wrong client version: " << rsp.payload_data.client_version << ", closing connection.");
|
||||
LOG_PRINT_CC_YELLOW(context, "COMMAND_HANDSHAKE Failed, wrong client version: " << rsp.payload_data.client_version << ", closing connection.", LOG_LEVEL_1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue