-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nshlib/ifconfig: Add support for add/del a single IPv6 address
Note: We're using similar error codes as Linux: ``` linux> sudo ifconfig eth0 inet6 add fc00::2/64 linux> sudo ifconfig eth0 inet6 del fc00::2/112 SIOCDIFADDR: Cannot assign requested address linux> sudo ifconfig eth0 inet6 del fc00::3/64 SIOCDIFADDR: Cannot assign requested address linux> sudo ifconfig eth0 inet6 add fc00::2/64 SIOCSIFADDR: File exists nuttx> ifconfig eth0 inet6 add fc00::2/64 nuttx> ifconfig eth0 inet6 del fc00::2/112 Failed to manage IPv6 address: Cannot assign requested address nuttx> ifconfig eth0 inet6 del fc00::3/112 Failed to manage IPv6 address: Cannot assign requested address nuttx> ifconfig eth0 inet6 add fc00::2/64 Failed to manage IPv6 address: File exists ``` Signed-off-by: Zhe Weng <[email protected]>
- Loading branch information
1 parent
2f9d98c
commit 56ef320
Showing
2 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters