diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-03 06:26:03 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-03 07:11:59 +0200 |
| commit | 4278b1df45d93d18dfa0a8ce8d6fd7ac9b5344a6 (patch) | |
| tree | 16329e46791251133530f93d41a78cf4df4d73f1 /src/rpcserver.cpp | |
| parent | qt: fix 'opens in testnet mode when presented with a BIP-72 link with no fall... (diff) | |
| download | discoin-4278b1df45d93d18dfa0a8ce8d6fd7ac9b5344a6.tar.xz discoin-4278b1df45d93d18dfa0a8ce8d6fd7ac9b5344a6.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index f47b3385d..5c4d30749 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; |