diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-09-30 19:19:19 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-10-03 15:38:19 +0300 |
commit | 49fba9c1aa699d3aa47ea4dafe07b47c8d0aac6e (patch) | |
tree | e58b1df3d151cb25d898e14a095b12d455ba7894 /src/netaddress.h | |
parent | d4dde24034d7467883b290111da60527ab8048f8 (diff) |
net: Add CNode::ConnectedThroughNetwork member function
Diffstat (limited to 'src/netaddress.h')
-rw-r--r-- | src/netaddress.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.h b/src/netaddress.h index 78e7e1b4b3..fe99f41c6a 100644 --- a/src/netaddress.h +++ b/src/netaddress.h @@ -182,7 +182,7 @@ class CNetAddr std::string ToStringIP() const; uint64_t GetHash() const; bool GetInAddr(struct in_addr* pipv4Addr) const; - uint32_t GetNetClass() const; + Network GetNetClass() const; //! For IPv4, mapped IPv4, SIIT translated IPv4, Teredo, 6to4 tunneled addresses, return the relevant IPv4 address as a uint32. uint32_t GetLinkedIPv4() const; |