aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.h
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2015-05-25 20:03:51 +0200
committerJonas Schnelli <[email protected]>2015-06-17 21:40:55 +0200
commit433fb1a95d7a96a033d7454e198d274e92108865 (patch)
tree51e371e3e270d5b7485414549b4e27e19cde1a87 /src/netbase.h
parent[net] remove unused return type bool from CNode::Ban() (diff)
downloaddiscoin-433fb1a95d7a96a033d7454e198d274e92108865.tar.xz
discoin-433fb1a95d7a96a033d7454e198d274e92108865.zip
[RPC] extend setban to allow subnets
Diffstat (limited to 'src/netbase.h')
-rw-r--r--src/netbase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netbase.h b/src/netbase.h
index 1f2957116..27f0eac2a 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -125,6 +125,7 @@ class CSubNet
friend bool operator==(const CSubNet& a, const CSubNet& b);
friend bool operator!=(const CSubNet& a, const CSubNet& b);
+ friend bool operator<(const CSubNet& a, const CSubNet& b);
};
/** A combination of a network address (CNetAddr) and a (TCP) port */