diff options
Diffstat (limited to 'src/netgroup.cpp')
-rw-r--r-- | src/netgroup.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/netgroup.cpp b/src/netgroup.cpp index 17a48ad025..54c65d356c 100644 --- a/src/netgroup.cpp +++ b/src/netgroup.cpp @@ -3,3 +3,13 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <netgroup.h> + +std::vector<unsigned char> NetGroupManager::GetGroup(const CNetAddr& address) const +{ + return address.GetGroup(m_asmap); +} + +uint32_t NetGroupManager::GetMappedAS(const CNetAddr& address) const +{ + return address.GetMappedAS(m_asmap); +} |