diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-05-12 15:14:30 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-05-12 15:14:30 +0300 |
commit | 2d799097ca8467f27c684ba36152ff4e83c6ad28 (patch) | |
tree | 023ca29ac16e5a9198920eaeb1e9dea59544e9b3 /src/p2p | |
parent | started WalletListener (diff) | |
parent | Merge pull request #826 (diff) | |
download | monero-2d799097ca8467f27c684ba36152ff4e83c6ad28.tar.xz |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/p2p')
-rw-r--r-- | src/p2p/net_node.inl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index 6278db891..0fab40322 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -1319,6 +1319,7 @@ namespace nodetool if(rsp.status != PING_OK_RESPONSE_STATUS_TEXT || pr != rsp.peer_id) { LOG_PRINT_CC_L2(ping_context, "back ping invoke wrong response \"" << rsp.status << "\" from" << ip << ":" << port << ", hsh_peer_id=" << pr_ << ", rsp.peer_id=" << rsp.peer_id); + m_net_server.get_config_object().close(ping_context.m_connection_id); return; } m_net_server.get_config_object().close(ping_context.m_connection_id); |