From ec6057c52474485cecded83b4031f10c8c6b1904 Mon Sep 17 00:00:00 2001 From: Mirek <1536554+shalak@users.noreply.github.com> Date: Fri, 26 Jul 2019 18:00:24 +0200 Subject: [PATCH] [cli] make output of panid consistent with input (#4028) --- src/cli/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/cli.cpp b/src/cli/cli.cpp index 7ba0319a1..ff9453d9a 100644 --- a/src/cli/cli.cpp +++ b/src/cli/cli.cpp @@ -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 {