diff --git a/libp2p/Common.h b/libp2p/Common.h index 8d85d215e..858b220ab 100644 --- a/libp2p/Common.h +++ b/libp2p/Common.h @@ -156,6 +156,7 @@ using PeerSessionInfos = std::vector; */ struct NodeIPEndpoint { + /// Setting true causes isValid to return true for all addresses. Defaults to false. Used by test fixtures. static bool test_allowLocal; NodeIPEndpoint(): address() {}