cli: fix wrong error info when display ifconfig status (#324)

This commit is contained in:
rongli
2016-08-02 21:18:26 -07:00
committed by Jonathan Hui
parent 767719bba8
commit 2fe487f0e8
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -236,6 +236,16 @@ Bring down the IPv6 interface.
Done
```
### ifconfig
Show the status of the IPv6 interface.
```bash
> ifconfig
down
Done
```
### ipaddr
List all IPv6 addresses assigned to the Thread interface.
+1 -1
View File
@@ -430,7 +430,7 @@ exit:
void Interpreter::ProcessIfconfig(int argc, char *argv[])
{
ThreadError error = kThreadError_Parse;
ThreadError error = kThreadError_None;
if (argc == 0)
{