diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-07 15:11:37 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-07 15:11:37 +0200 |
commit | 9b0daf49dbd860bf2424e03d1dc80c096cb6596a (patch) | |
tree | a319e5c74c9df1b45661d8089a9d7a8411ae3c44 /src | |
parent | Merge pull request #2219 (diff) | |
parent | p2p: move m_in_timedsync from connection_context to p2p_connection_context (diff) | |
download | monero-9b0daf49dbd860bf2424e03d1dc80c096cb6596a.tar.xz |
Merge pull request #2220
c6ba7d11 p2p: move m_in_timedsync from connection_context to p2p_connection_context (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/net_node.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 8798a52e0..ed00de731 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -61,8 +61,11 @@ namespace nodetool template<class base_type> struct p2p_connection_context_t: base_type //t_payload_net_handler::connection_context //public net_utils::connection_context_base { + p2p_connection_context_t(): support_flags(0), m_in_timedsync(false) {} + peerid_type peer_id; uint32_t support_flags; + bool m_in_timedsync; }; template<class t_payload_net_handler> |