From: John Hodge Date: Tue, 8 Oct 2013 15:13:16 +0000 (+0800) Subject: UDI/ne2000 - Fixed "identifier" formatting X-Git-Tag: rel0.15~124 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=e699c2e01fff6c83a3ab3a41fe4b7429d03d019a;p=tpg%2Facess2.git UDI/ne2000 - Fixed "identifier" formatting --- diff --git a/UDI/drivers/net_ne2000/ne2000_core.c b/UDI/drivers/net_ne2000/ne2000_core.c index b0614e02..b5410a72 100644 --- a/UDI/drivers/net_ne2000/ne2000_core.c +++ b/UDI/drivers/net_ne2000/ne2000_core.c @@ -52,7 +52,7 @@ void ne2k_enumerate_req(udi_enumerate_cb_t *cb, udi_ubit8_t enumeration_level) attr_list ++; DPT_SET_ATTR_STRING(attr_list, "if_media", "eth", 3); attr_list ++; - NE2K_SET_ATTR_STRFMT(attr_list, "identifier", 2*6+1, "%2X%2X%2X%2X%2X%2X", + NE2K_SET_ATTR_STRFMT(attr_list, "identifier", 2*6+1, "%02X%02X%02X%02X%02X%02X", rdata->macaddr[0], rdata->macaddr[1], rdata->macaddr[2], rdata->macaddr[3], rdata->macaddr[4], rdata->macaddr[5] ); attr_list ++;