aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-04-17 18:34:32 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-09-08 12:24:06 -0400
commit6c19d92361fe4afb26dfa5d48a0748b84bca6f12 (patch)
tree30bcc560bc99a3f7ad0e258c5945810d5a8f419c /src/init.cpp
parent53347f0cb99e514815e44a56439a4a10012238f8 (diff)
net: move whitelist functions into CConnman
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 719b648c04..f618e5ccc5 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1146,7 +1146,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
LookupSubNet(net.c_str(), subnet);
if (!subnet.IsValid())
return InitError(strprintf(_("Invalid netmask specified in -whitelist: '%s'"), net));
- CNode::AddWhitelistedRange(subnet);
+ connman.AddWhitelistedRange(subnet);
}
}