aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-09-30 19:19:19 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-03 15:38:19 +0300
commit49fba9c1aa699d3aa47ea4dafe07b47c8d0aac6e (patch)
treee58b1df3d151cb25d898e14a095b12d455ba7894 /src/netaddress.cpp
parentd4dde24034d7467883b290111da60527ab8048f8 (diff)
net: Add CNode::ConnectedThroughNetwork member function
Diffstat (limited to 'src/netaddress.cpp')
-rw-r--r--src/netaddress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.cpp b/src/netaddress.cpp
index 0c4c0a339b..d460d0139f 100644
--- a/src/netaddress.cpp
+++ b/src/netaddress.cpp
@@ -629,7 +629,7 @@ uint32_t CNetAddr::GetLinkedIPv4() const
assert(false);
}
-uint32_t CNetAddr::GetNetClass() const
+Network CNetAddr::GetNetClass() const
{
// Make sure that if we return NET_IPV6, then IsIPv6() is true. The callers expect that.