wengzhe opened a new pull request, #1484: URL: https://github.com/apache/nuttx-apps/pull/1484
## Summary Patches included: - ifconfig: Allow hostip on first non-option place after inet/inet6 - ifconfig: Support prefixlen/CIDR for IPv6 NuttX previous: ``` ifconfig eth0 10.0.0.1 [inet] ifconfig eth0 2022::2 inet6 ``` Linux: ``` ifconfig eth0 [inet] 10.0.0.1 ifconfig eth0 [inet6] add 2022::2[/96] ``` FreeBSD: ``` ifconfig eth0 inet 10.0.0.1 ifconfig eth0 inet6 2022::2[/96] ifconfig eth0 inet6 2022::2 [prefixlen 96] ``` NuttX newly supported: ``` ifconfig eth0 [inet] 10.0.0.1 ifconfig eth0 inet6 [add] 2022::2[/96] ifconfig eth0 inet6 [add] 2022::2 [prefixlen 96] ``` Ref: https://man7.org/linux/man-pages/man8/ifconfig.8.html https://www.freebsd.org/cgi/man.cgi?ifconfig ## Impact Improve ifconfig functionality. ## Testing Manually tested with commands listed above. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
