Fix --rpc_ip and --rpc_port (RIPD-679)

This reverts commit 2b040569e7.
This commit is contained in:
Vinnie Falco
2015-04-24 17:27:06 -07:00
parent 9114f3d2e6
commit 98c915b2ca
5 changed files with 63 additions and 4 deletions

View File

@@ -28,8 +28,10 @@
#include <beast/net/IPEndpoint.h>
#include <beast/module/core/files/File.h>
#include <beast/utility/ci_char_traits.h>
#include <boost/filesystem.hpp>
#include <boost/asio/ip/tcp.hpp> // VFALCO FIX: This include should not be here
#include <boost/filesystem.hpp> // VFALCO FIX: This include should not be here
#include <boost/lexical_cast.hpp>
#include <boost/optional.hpp>
#include <cstdint>
#include <map>
#include <string>
@@ -251,6 +253,10 @@ public:
std::string SSL_VERIFY_FILE;
std::string SSL_VERIFY_DIR;
// These override the command line client settings
boost::optional<boost::asio::ip::address_v4> rpc_ip;
boost::optional<std::uint16_t> rpc_port;
public:
Config ();