Browse Source

net: fixup nits

0.14
Cory Fields 8 years ago
parent
commit
9e9d644f51
  1. 2
      src/Makefile.am
  2. 2
      src/httpserver.cpp

2
src/Makefile.am

@ -105,8 +105,8 @@ BITCOIN_CORE_H = \ @@ -105,8 +105,8 @@ BITCOIN_CORE_H = \
merkleblock.h \
miner.h \
net.h \
netbase.h \
netaddress.h \
netbase.h \
noui.h \
policy/fees.h \
policy/policy.h \

2
src/httpserver.cpp

@ -201,7 +201,7 @@ static bool InitHTTPAllowList() @@ -201,7 +201,7 @@ static bool InitHTTPAllowList()
CNetAddr localv6;
LookupHost("127.0.0.1", localv4, 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
if (mapMultiArgs.count("-rpcallowip")) {
const std::vector<std::string>& vAllow = mapMultiArgs["-rpcallowip"];

Loading…
Cancel
Save