[openib-general] [PATCH] clean up node descriptors for printing in ibnetdiscover

Ira Weiny weiny2 at llnl.gov
Thu Mar 23 17:19:03 PST 2006


Our ibnetdiscover output was getting hosed by a '\r' in the switches nodedesc.

Before:

# odev0 /home/weiny2 > ibswitches 
" port 0 lid 208f104003f00a1 ports 8 "SW-12CIB4 Voltaire
...

After:

# odev0 /home/weiny2 > ./ibswitches 
Switch  : 0x0008f104003f00a1 ports 8 "SW-12CIB4 Voltaire" port 0 lid 2
...

This patch is against the 1.0 Branch.

Ira

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clean_nodedesc.patch
Type: application/octet-stream
Size: 2566 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060323/0f09bd6d/attachment.obj>


More information about the general mailing list