diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index b7c1e461a..f545fb00d 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -465,7 +465,7 @@ namespace nodetool std::list m_priority_peers; std::vector m_exclusive_peers; - std::atomic_flag m_fallback_seed_nodes_added; + std::atomic_flag m_fallback_seed_nodes_added = ATOMIC_FLAG_INIT; std::vector m_command_line_peers; uint64_t m_peer_livetime; //keep connections to initiate some interactions