Specify that the IPv6 socket is used for IPv4 com (#4112)

This commit is contained in:
RickiNano 2023-02-08 22:46:26 +01:00 committed by GitHub
commit 73d08dcb50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -324,7 +324,7 @@ TEST (telemetry, invalid_endpoint)
// Give some time for nodes to exchange telemetry
WAIT (1s);
nano::endpoint endpoint = *nano::parse_endpoint ("240.0.0.0:12345");
nano::endpoint endpoint = *nano::parse_endpoint ("::ffff:240.0.0.0:12345");
ASSERT_FALSE (node_client->telemetry.get_telemetry (endpoint));
}