From c5ccabec386ac34a083a66aa84a8a71f42367ea6 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Wed, 6 Nov 2013 05:42:06 -0800 Subject: [PATCH] Fix to use IPS from config --- src/ripple_app/peers/UniqueNodeList.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ripple_app/peers/UniqueNodeList.cpp b/src/ripple_app/peers/UniqueNodeList.cpp index f988de2e7..9f312a3f7 100644 --- a/src/ripple_app/peers/UniqueNodeList.cpp +++ b/src/ripple_app/peers/UniqueNodeList.cpp @@ -503,18 +503,18 @@ public: nodeNetwork (); } - // Take the set of entries in IPS_FIXED and insert them into the + // Take the set of entries in IPS and insert them into the // "legacy endpoint" database so they will be served as IP addresses // in the legacy mtPEERS message. Note that this is all replaced by // the new PeerFinder. // - if (!getConfig ().IPS_FIXED.empty ()) + if (!getConfig ().IPS.empty ()) { std::vector vstrValues; - vstrValues.reserve (getConfig ().IPS_FIXED.size ()); + vstrValues.reserve (getConfig ().IPS.size ()); - BOOST_FOREACH (const std::string & strPeer, getConfig ().IPS_FIXED) + BOOST_FOREACH (const std::string & strPeer, getConfig ().IPS) { std::string strIP; int iPort;