wangchen61698 commented on PR #3263: URL: https://github.com/apache/nuttx-apps/pull/3263#issuecomment-3689765229
> _Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md)._ > > ## Summary > 1. Add -I option to specify the network device to use for sending ICMP echo requests. This allows users to explicitly bind ping to a specific network interface, which is particularly useful in multi-homed systems with multiple network interfaces. > 2. Initialize info.devname to NULL to solve the problem of the SO-BINDTODEVICE property being set incorrectly in the icmp_ping function > > ## Impact > ping > > ## Testing > It has passed self-testing in sim > Please provide information on what "self-testing" includes on sim, and if possible any logs from the test that show that the issue you're solving is fixed with this change and was broken before the change. The test log has been supplemented. Please refer to the TESTING entry @linguini1 -- 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]
