You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (const std::string& strAllow : gArgs.GetArgs("-rpcallowip")) {
200
-
CSubNet subnet;
201
-
LookupSubNet(strAllow.c_str(), subnet);
202
-
if (!subnet.IsValid()) {
203
-
uiInterface.ThreadSafeMessageBox(
204
-
strprintf("Invalid -rpcallowip subnet specification: %s. Valid are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24).", strAllow),
205
-
"", CClientUIInterface::MSG_ERROR);
206
-
returnfalse;
207
-
}
208
-
rpc_allow_subnets.push_back(subnet);
200
+
CSubNet subnet;
201
+
LookupSubNet(strAllow.c_str(), subnet);
202
+
if (!subnet.IsValid()) {
203
+
uiInterface.ThreadSafeMessageBox(
204
+
strprintf("Invalid -rpcallowip subnet specification: %s. Valid are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24).", strAllow),
0 commit comments