aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-08-11 22:35:15 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-08-11 22:35:15 -0400
commit521b4d9ded086eb4435b12e39acb5b967a28a6e0 (patch)
tree09ef345db3a388233b51740834ace117a19d880b /tests
parentMerge pull request #7802 (diff)
parentp2p: remove blocked addresses/hosts from peerlist (diff)
downloadmonero-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.cpp1
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;