On OpenBSD 7.4, the following check of the unit test test_addnode_getaddednodeinfo_and_connection_detection currently fails:
BOOST_CHECK(!connman->AddNode({/*m_added_node=*/"127.1", /*m_use_v2transport=*/true}));
The reason for that is that this OS seemingly doesn't support the IPv4 shorthand notation with omitted zero-bytes:
$ ping 127.1
ping: no address associated with name
As a simple fix, this PR skips the check for this with a pre-processor #if. On NetBSD and FreeBSD, 127.1 is resolved correctly to localhost and hence the test passes (thanks to vasild for verifying on the latter!).