From 6d9f047238b5eeb47aedb098706d2cfa87659749 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 6 Aug 2008 20:35:42 +0000 Subject: [PATCH] Somehow this sign ended up pointing the wrong way. This commit was SVN r19207. --- ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c b/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c index 73fb12d8ec..de1738d074 100644 --- a/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c +++ b/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c @@ -451,7 +451,7 @@ static int handle_connect_request(rdmacm_contents_t *local, BTL_VERBOSE(("ep state = %d, local ipaddr = %x, remote ipaddr = %x port %d", endpoint->endpoint_state, local->ipaddr, message->ipaddr, rem_port)); - if ((local->ipaddr == message->ipaddr && local->tcp_port > rem_port) || + if ((local->ipaddr == message->ipaddr && local->tcp_port < rem_port) || local->ipaddr > message->ipaddr) { int race = 1;