Skip to content

Commit a1e85b0

Browse files
committed
btl tcp: Fix compile error in IPv6
In 457f058 I broke the TCP BTL with --enable-ipv6. This patch fixes the compile error, so IPv6 works again. Fixed #5996 Signed-off-by: Brian Barrett <bbarrett@amazon.com>
1 parent 2e59966 commit a1e85b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/btl/tcp/btl_tcp_endpoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ static int mca_btl_tcp_endpoint_start_connect(mca_btl_base_endpoint_t* btl_endpo
742742
}
743743
#if OPAL_ENABLE_IPV6
744744
if (endpoint_addr.ss_family == AF_INET6) {
745-
assert(NULL != &btl_endpoint->endpoint_btl->tcp_ifaddr_6);
745+
assert(NULL != &btl_endpoint->endpoint_btl->tcp_ifaddr);
746746
if (bind(btl_endpoint->endpoint_sd, (struct sockaddr*) &btl_endpoint->endpoint_btl->tcp_ifaddr,
747747
sizeof(struct sockaddr_in6)) < 0) {
748748
BTL_ERROR(("bind on local address (%s:%d) failed: %s (%d)",

0 commit comments

Comments
 (0)