aboutsummaryrefslogtreecommitdiff
path: root/src/net/error.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-07-24 13:47:41 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-07-24 13:47:41 -0500
commit1880c1a58290cde589fe6db1062284ddba294483 (patch)
tree896c03bef52795675c79bbd421b8f47c5fab869e /src/net/error.h
parentMerge pull request #5763 (diff)
parentallow blocking whole subnets (diff)
downloadmonero-1880c1a58290cde589fe6db1062284ddba294483.tar.xz
Merge pull request #5363
515ac29 p2p: store network address directly in blocked host list (moneromooo-monero) 65c4004 allow blocking whole subnets (moneromooo-monero)
Diffstat (limited to 'src/net/error.h')
-rw-r--r--src/net/error.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/error.h b/src/net/error.h
index c8338f7e2..7c852dd20 100644
--- a/src/net/error.h
+++ b/src/net/error.h
@@ -42,7 +42,8 @@ namespace net
invalid_i2p_address,
invalid_port, //!< Outside of 0-65535 range
invalid_tor_address,//!< Invalid base32 or length
- unsupported_address //!< Type not supported by `get_network_address`
+ unsupported_address,//!< Type not supported by `get_network_address`
+ invalid_mask, //!< Outside of 0-32 range
};
//! \return `std::error_category` for `net` namespace.