Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/src/ibnetdiscover.c b/src/ibnetdiscover.c
index ffb5ea2..9768877 100644
--- a/src/ibnetdiscover.c
+++ b/src/ibnetdiscover.c
@@ -215,7 +215,9 @@ void out_ids(ibnd_node_t * node, int group, char *chname, 
char *out_prefix)
                        fprintf(f, " slot %d",
                                node->ports[1]->remoteport->portnum);
        }
-       fprintf(f, "\n");
+       if (sysimgguid ||
+           (group && node->chassis && node->chassis->chassisnum))
+               fprintf(f, "\n");
 }
 
 uint64_t out_chassis(ibnd_fabric_t * fabric, unsigned char chassisnum)
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to