mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 13:20:25 +00:00
cli: route fix (#401)
This commit is contained in:
+1
-2
@@ -1336,8 +1336,7 @@ ThreadError Interpreter::ProcessRouteAdd(int argc, char *argv[])
|
||||
{
|
||||
config.mStable = true;
|
||||
}
|
||||
|
||||
if (strcmp(argv[argcur], "high") == 0)
|
||||
else if (strcmp(argv[argcur], "high") == 0)
|
||||
{
|
||||
config.mPreference = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user