Skip to content

Commit

Permalink
tests: don't export in6addr_loopback
Browse files Browse the repository at this point in the history
Don't export `in6addr_loopback` because that upsets
`contrib/devtools/symbol-check.py`

Fixes bitcoin#20127
  • Loading branch information
vasild authored and furszy committed Aug 10, 2021
1 parent 2cde8e0 commit 337d43d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/netbase_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,17 +395,17 @@ BOOST_AUTO_TEST_CASE(netbase_dont_resolve_strings_with_embedded_nul_characters)

static const std::vector<CAddress> fixture_addresses({
CAddress(
CService(CNetAddr(in6addr_loopback), 0 /* port */),
CService(CNetAddr(in6_addr(IN6ADDR_LOOPBACK_INIT)), 0 /* port */),
NODE_NONE,
0x4966bc61U /* Fri Jan 9 02:54:25 UTC 2009 */
),
CAddress(
CService(CNetAddr(in6addr_loopback), 0x00f1 /* port */),
CService(CNetAddr(in6_addr(IN6ADDR_LOOPBACK_INIT)), 0x00f1 /* port */),
NODE_NETWORK,
0x83766279U /* Tue Nov 22 11:22:33 UTC 2039 */
),
CAddress(
CService(CNetAddr(in6addr_loopback), 0xf1f2 /* port */),
CService(CNetAddr(in6_addr(IN6ADDR_LOOPBACK_INIT)), 0xf1f2 /* port */),
static_cast<ServiceFlags>(NODE_BLOOM),
0xffffffffU /* Sun Feb 7 06:28:15 UTC 2106 */
)
Expand Down

0 comments on commit 337d43d

Please sign in to comment.