mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 05:23:01 +01:00
net: fixup nits
This commit is contained in:
parent
8945384bca
commit
9e9d644f51
@ -105,8 +105,8 @@ BITCOIN_CORE_H = \
|
|||||||
merkleblock.h \
|
merkleblock.h \
|
||||||
miner.h \
|
miner.h \
|
||||||
net.h \
|
net.h \
|
||||||
netbase.h \
|
|
||||||
netaddress.h \
|
netaddress.h \
|
||||||
|
netbase.h \
|
||||||
noui.h \
|
noui.h \
|
||||||
policy/fees.h \
|
policy/fees.h \
|
||||||
policy/policy.h \
|
policy/policy.h \
|
||||||
|
@ -201,7 +201,7 @@ static bool InitHTTPAllowList()
|
|||||||
CNetAddr localv6;
|
CNetAddr localv6;
|
||||||
LookupHost("127.0.0.1", localv4, false);
|
LookupHost("127.0.0.1", localv4, false);
|
||||||
LookupHost("::1", localv6, false);
|
LookupHost("::1", localv6, false);
|
||||||
rpc_allow_subnets.push_back(CSubNet(localv4, 8)); // always allow IPv4 local subnet
|
rpc_allow_subnets.push_back(CSubNet(localv4, 8)); // always allow IPv4 local subnet
|
||||||
rpc_allow_subnets.push_back(CSubNet(localv6)); // always allow IPv6 localhost
|
rpc_allow_subnets.push_back(CSubNet(localv6)); // always allow IPv6 localhost
|
||||||
if (mapMultiArgs.count("-rpcallowip")) {
|
if (mapMultiArgs.count("-rpcallowip")) {
|
||||||
const std::vector<std::string>& vAllow = mapMultiArgs["-rpcallowip"];
|
const std::vector<std::string>& vAllow = mapMultiArgs["-rpcallowip"];
|
||||||
|
Loading…
Reference in New Issue
Block a user