[openib-general] [PATCH] Opensm - fix PathRecord dump

Yael Kalka yael at mellanox.co.il
Tue Sep 27 05:06:38 PDT 2005


Hi Hal,

There is a multiple line in the osm_helper.c in osm_dump_path_record.
Attached is a patch resolving this.

Thanks,
Yael

Signed-off-by:  Yael Kalka <yael at mellanox.co.il>

Index: osm/opensm/osm_helper.c
===================================================================
--- osm/opensm/osm_helper.c     (revision 3532)
+++ osm/opensm/osm_helper.c     (working copy)
@@ -897,7 +897,6 @@ osm_dump_path_record(
              p_pr->num_path,
              cl_ntoh16( p_pr->pkey ),
              cl_ntoh16( p_pr->sl ),
-             cl_ntoh16( p_pr->sl ),
              p_pr->mtu,
              p_pr->rate,
              p_pr->pkt_life,




More information about the general mailing list