mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 18:37:45 +00:00
[cli] add helper method to output "Enabled/Disabled" status (#6158)
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ otError UdpExample::ProcessLinkSecurity(uint8_t aArgsLength, char *aArgs[])
|
||||
|
||||
if (aArgsLength == 0)
|
||||
{
|
||||
mInterpreter.OutputLine(mLinkSecurityEnabled ? "Enabled" : "Disabled");
|
||||
mInterpreter.OutputEnabledDisabledStatus(mLinkSecurityEnabled);
|
||||
}
|
||||
else if (strcmp(aArgs[0], "enable") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user