diff --git a/orte/mca/oob/tcp/oob_tcp_connection.c b/orte/mca/oob/tcp/oob_tcp_connection.c index 05fbe6085e..f25674693e 100644 --- a/orte/mca/oob/tcp/oob_tcp_connection.c +++ b/orte/mca/oob/tcp/oob_tcp_connection.c @@ -255,6 +255,9 @@ void mca_oob_tcp_peer_try_connect(int fd, short args, void *cbdata) /* no address succeeded, so we cannot reach this peer */ peer->state = MCA_OOB_TCP_FAILED; host = orte_get_proc_hostname(&(peer->name)); + if (NULL == host) { + host = opal_net_get_hostname((struct sockaddr*)&(peer->active_addr->addr)); + } /* use an opal_output here instead of show_help as we may well * not be connected to the HNP at this point */ opal_output(orte_clean_output,