diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-08-11 22:35:15 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-08-11 22:35:15 -0400 |
commit | 521b4d9ded086eb4435b12e39acb5b967a28a6e0 (patch) | |
tree | 09ef345db3a388233b51740834ace117a19d880b /tests | |
parent | Merge pull request #7802 (diff) | |
parent | p2p: remove blocked addresses/hosts from peerlist (diff) | |
download | monero-521b4d9ded086eb4435b12e39acb5b967a28a6e0.tar.xz |
Merge pull request #7809
7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
Diffstat (limited to 'tests')
-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 cbe3c61b1..b83a809b7 100644 --- a/tests/unit_tests/epee_utils.cpp +++ b/tests/unit_tests/epee_utils.cpp @@ -1512,6 +1512,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; |