diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-04-29 14:57:08 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-04-29 14:58:42 +0100 |
commit | 159018396556968416d932591877e8aaf4c34354 (patch) | |
tree | 3e5ef13caaefbd06f0dd0dab3dd63e59c742b3ad /src/p2p/net_node.h | |
parent | Merge pull request #3709 (diff) | |
download | monero-159018396556968416d932591877e8aaf4c34354.tar.xz |
p2p: fix fallback seed node usage
Those were added to the seed nodes list even when they had already
been added. Moreover, the current index was not reset after they
were added, typically causing previous seeds to be used, and some
of those fallback seeds to not be tried.
Diffstat (limited to 'src/p2p/net_node.h')
-rw-r--r-- | src/p2p/net_node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h index 4606f66ee..d5346afb5 100644 --- a/src/p2p/net_node.h +++ b/src/p2p/net_node.h @@ -316,6 +316,7 @@ namespace nodetool std::list<epee::net_utils::network_address> m_priority_peers; std::vector<epee::net_utils::network_address> m_exclusive_peers; std::vector<epee::net_utils::network_address> m_seed_nodes; + bool m_fallback_seed_nodes_added; std::list<nodetool::peerlist_entry> m_command_line_peers; uint64_t m_peer_livetime; //keep connections to initiate some interactions |