aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-09 10:30:17 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-09 10:30:20 +0200
commite175205e6e6314709aa1a8472f72be583771cd8a (patch)
tree8f659535b23d0ff35a0559fb274b39472513d25e /src/p2p
parentMerge pull request #526 (diff)
parentRegister daemon command line arguments to core if they're used in core (diff)
downloadmonero-e175205e6e6314709aa1a8472f72be583771cd8a.tar.xz
Merge pull request #527
336b375 Register daemon command line arguments to core if they're used in core (moneromooo-monero)
Diffstat (limited to 'src/p2p')
-rw-r--r--src/p2p/net_node.inl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index edc052709..aa22d5b23 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -49,7 +49,6 @@
#include "crypto/crypto.h"
#include "storages/levin_abstract_invoke2.h"
#include "data_logger.hpp"
-#include "daemon/command_line_args.h"
// We have to look for miniupnpc headers in different places, dependent on if its compiled or external
#ifdef UPNP_STATIC
@@ -354,7 +353,7 @@ namespace nodetool
bool node_server<t_payload_net_handler>::init(const boost::program_options::variables_map& vm)
{
std::set<std::string> full_addrs;
- bool testnet = command_line::get_arg(vm, daemon_args::arg_testnet_on);
+ bool testnet = command_line::get_arg(vm, command_line::arg_testnet_on);
if (testnet)
{