Version: 1
-Previous: 12ba53821c34bb55b2217477e358a90a813e0a42
-Head: 10e1ac8952a7c7eedc58b57964e11460e1aa6db4
+Previous: 9c14a5fba1fc835cf28a5712abf5ff561a2b4193
+Head: e2d5db76226b03a12c38af4f8908fb12eeee6a16
Applied:
lmc: b355854c79a1e446e87684a41663ad5aae258b73
lid: 1c005908ee6c257f6fa290df8ce8a45e968d07ab
acme_gid: 160551b2a4bed277f4c81b52ef33a184f43ca783
range: dfe3c8409e2e1fcc2fc11bd7f9287f1c46b36015
format_lid: 10e1ac8952a7c7eedc58b57964e11460e1aa6db4
+ refresh-temp: e2d5db76226b03a12c38af4f8908fb12eeee6a16
Unapplied:
Hidden:
--- /dev/null
+Bottom: 95be46d944a0b8ad21ebe86340c99c1691ee887f
+Top: 51e1d4efb38c4166735d2f14c94b3c842483435a
+Author: Sean Hefty <sean.hefty@intel.com>
+Date: 2010-12-17 12:29:29 -0800
+
+Refresh of format_lid
+
+---
+
+diff --git a/src/acm.c b/src/acm.c
+index b4e0632..ed1cb28 100644
+--- a/src/acm.c
++++ b/src/acm.c
+@@ -277,7 +277,7 @@ acm_format_name(int level, char *name, size_t name_size,
+ }
+ break;
+ case ACM_ADDRESS_LID:
+- sprintf(name, "LID(%d)", *((uint16_t *) addr));
++ sprintf(name, "LID(%d)", ntohs(*((uint16_t *) addr)));
+ break;
+ default:
+ strcpy(name, "Unknown");