diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-07-27 10:02:26 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2021-08-05 19:05:02 +0000 |
commit | 8eb2b79baddd20d02751d950ee3e2358ba94d203 (patch) | |
tree | 9f1a4a959536c7eb06816070920542dd5bc115b2 /tests/unit_tests/epee_utils.cpp | |
parent | Merge pull request #7734 (diff) | |
download | monero-8eb2b79baddd20d02751d950ee3e2358ba94d203.tar.xz |
p2p: remove blocked addresses/hosts from peerlist
Diffstat (limited to '')
-rw-r--r-- | tests/unit_tests/epee_utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/epee_utils.cpp b/tests/unit_tests/epee_utils.cpp index 8c89968b9..7ba9c26fa 100644 --- a/tests/unit_tests/epee_utils.cpp +++ b/tests/unit_tests/epee_utils.cpp @@ -1503,6 +1503,7 @@ TEST(NetUtils, NetworkAddress) constexpr static epee::net_utils::address_type get_type_id() noexcept { return epee::net_utils::address_type(-1); } constexpr static epee::net_utils::zone get_zone() noexcept { return epee::net_utils::zone::invalid; } constexpr static bool is_blockable() noexcept { return false; } + constexpr static uint16_t port() { return 0; } }; const epee::net_utils::network_address empty; |