1
1

I guess we only need this when IPv6 is enabled.

This commit was SVN r14551.
Этот коммит содержится в:
Adrian Knoth 2007-04-29 16:38:34 +00:00
родитель 5765ecc22e
Коммит d63d125a88

Просмотреть файл

@ -340,6 +340,7 @@ bool mca_btl_tcp_proc_accept(mca_btl_tcp_proc_t* btl_proc, struct sockaddr* addr
continue; continue;
} }
break; break;
#if OPAL_WANT_IPV6
case AF_INET6: case AF_INET6:
if( memcmp( &btl_endpoint->endpoint_addr->addr_inet, if( memcmp( &btl_endpoint->endpoint_addr->addr_inet,
&(((struct sockaddr_in6*)addr)->sin6_addr), &(((struct sockaddr_in6*)addr)->sin6_addr),
@ -347,6 +348,7 @@ bool mca_btl_tcp_proc_accept(mca_btl_tcp_proc_t* btl_proc, struct sockaddr* addr
continue; continue;
} }
break; break;
#endif
default: default:
; ;
} }