aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-03 06:26:03 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-03 07:11:59 +0200
commit4278b1df45d93d18dfa0a8ce8d6fd7ac9b5344a6 (patch)
tree16329e46791251133530f93d41a78cf4df4d73f1 /src/rpcserver.cpp
parentdd49e92fb0cae0dcdf0b2ea303da99c7814db473 (diff)
downloadbitcoin-4278b1df45d93d18dfa0a8ce8d6fd7ac9b5344a6.tar.xz
Clarify error message when invalid -rpcallowip
Also add to HelpMessage() what specifications are valid.
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index f47b3385da..5c4d307497 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -512,7 +512,7 @@ void StartRPCThreads()
if(!subnet.IsValid())
{
uiInterface.ThreadSafeMessageBox(
- strprintf("Invalid -rpcallowip subnet specification: %s", strAllow),
+ 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),
"", CClientUIInterface::MSG_ERROR);
StartShutdown();
return;