From 130cc1c5f3d350d245ce2bbd024ba963b3dbe63f Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Tue, 17 Sep 2019 14:26:57 -0400 Subject: [PATCH] #7766 - report peer address on close --- plugins/net_plugin/net_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/net_plugin/net_plugin.cpp b/plugins/net_plugin/net_plugin.cpp index d9595e0e7ee..47086502a1c 100644 --- a/plugins/net_plugin/net_plugin.cpp +++ b/plugins/net_plugin/net_plugin.cpp @@ -810,6 +810,7 @@ namespace eosio { last_handshake_recv = handshake_message(); last_handshake_sent = handshake_message(); my_impl->sync_master->reset_lib_num(shared_from_this()); + fc_ilog(logger, "closing ${a}, ${p}", ("a",peer_addr)("p",peer_name())); fc_dlog(logger, "canceling wait on ${p}", ("p",peer_name())); cancel_wait(); if( read_delay_timer ) read_delay_timer->cancel();