diff --git a/src/mca/ns/proxy/src/ns_proxy.c b/src/mca/ns/proxy/src/ns_proxy.c index 6337a154d7..6d9639c966 100644 --- a/src/mca/ns/proxy/src/ns_proxy.c +++ b/src/mca/ns/proxy/src/ns_proxy.c @@ -281,7 +281,7 @@ int orte_ns_proxy_assign_rml_tag(orte_rml_tag_t *tag, count = 1; if ((ORTE_SUCCESS != orte_dps.unpack(answer, &command, &count, ORTE_NS_CMD)) - || (ORTE_NS_CREATE_CELLID_CMD != command)) { + || (ORTE_NS_ASSIGN_OOB_TAG_CMD != command)) { OBJ_RELEASE(answer); return ORTE_ERR_UNPACK_FAILURE; } diff --git a/src/mca/ns/replica/src/ns_replica.c b/src/mca/ns/replica/src/ns_replica.c index 35683f2df7..fde822e817 100644 --- a/src/mca/ns/replica/src/ns_replica.c +++ b/src/mca/ns/replica/src/ns_replica.c @@ -131,7 +131,8 @@ int orte_ns_replica_assign_rml_tag(orte_rml_tag_t *tag, /* not in list or not provided, so allocate next tag * first check to see if one available - else error */ - if (ORTE_RML_TAG_MAX < orte_ns_replica_next_rml_tag) { +/* if (ORTE_RML_TAG_MAX < orte_ns_replica_next_rml_tag) { */ + if (ORTE_RML_TAG_MAX > orte_ns_replica_next_rml_tag) { /* okay, one available - assign it */ tagitem = OBJ_NEW(orte_ns_replica_tagitem_t); if (NULL == tagitem) { /* out of memory */