net: Add CNode::ConnectedThroughNetwork member function

This commit is contained in:
Hennadii Stepanov
2020-09-30 19:19:19 +03:00
parent d4dde24034
commit 49fba9c1aa
4 changed files with 19 additions and 2 deletions

View File

@@ -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.