[cli] make output of panid consistent with input (#4028)

This commit is contained in:
Mirek
2019-07-26 18:00:24 +02:00
committed by Jonathan Hui
parent aec0e0b2a0
commit ec6057c524
+1 -1
View File
@@ -1817,7 +1817,7 @@ void Interpreter::ProcessPanId(int argc, char *argv[])
if (argc == 0)
{
mServer->OutputFormat("%04x\r\n", otLinkGetPanId(mInstance));
mServer->OutputFormat("0x%04x\r\n", otLinkGetPanId(mInstance));
}
else
{