[ofa-general] ***SPAM*** [PATCH] libibmad/fields.c: Dump LIDs as unsigned decimal

Hal Rosenstock hnrose at comcast.net
Fri Feb 20 13:58:45 PST 2009


Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>
---
 libibmad/src/fields.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c
index d6742f9..e14dbb5 100644
--- a/libibmad/src/fields.c
+++ b/libibmad/src/fields.c
@@ -123,8 +123,8 @@ static const ib_field_t ib_mad_f[] = {
 	 */
 	{0, 64, "Mkey", mad_dump_hex},
 	{64, 64, "GidPrefix", mad_dump_hex},
-	{BITSOFFS(128, 16), "Lid", mad_dump_hex},
-	{BITSOFFS(144, 16), "SMLid", mad_dump_hex},
+	{BITSOFFS(128, 16), "Lid", mad_dump_uint},
+	{BITSOFFS(144, 16), "SMLid", mad_dump_uint},
 	{160, 32, "CapMask", mad_dump_portcapmask},
 	{BITSOFFS(192, 16), "DiagCode", mad_dump_hex},
 	{BITSOFFS(208, 16), "MkeyLeasePeriod", mad_dump_uint},
-- 
1.5.6.4




More information about the general mailing list