Skip to content

Commit

Permalink
[cli] fix ba state output and conversion of state to string (openth…
Browse files Browse the repository at this point in the history
  • Loading branch information
abtink authored Sep 19, 2023
1 parent 851e00f commit 07c56c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ template <> otError Interpreter::Process<Cmd("ba")>(Arg aArgs[])
else if (aArgs[0] == "state")
{
static const char *const kStateStrings[] = {
"Stopped" // (0) OT_BORDER_AGENT_STATE_STOPPED
"Stopped", // (0) OT_BORDER_AGENT_STATE_STOPPED
"Started", // (1) OT_BORDER_AGENT_STATE_STARTED
"Active", // (2) OT_BORDER_AGENT_STATE_ACTIVE
};
Expand Down

0 comments on commit 07c56c2

Please sign in to comment.