zhhyu7 opened a new pull request, #3322:
URL: https://github.com/apache/nuttx-apps/pull/3322
## Summary
standardize the implementation of ping6 to better comply with socket
permissions on certain systems.
## Impact
ping6
## Testing
sim:matter with ping6
NuttX test log:
```
NuttShell (NSH) NuttX-12.12.0
MOTD: username=admin password=Administrator
nsh> ifconfig
eth0 Link encap:Ethernet HWaddr 42:e1:c4:3f:48:dd at RUNNING mtu 1500
inet addr:10.0.1.2 DRaddr:10.0.1.1 Mask:255.255.255.0
inet6 addr: fe80::40e1:c4ff:fe3f:48dd/64
inet6 DRaddr: fe80::a096:6ff:fe65:382a
lo Link encap:Local Loopback at RUNNING mtu 1518
inet addr:127.0.0.1 DRaddr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128
inet6 DRaddr: ::1
nsh> ping6 fe80::a096:6ff:fe65:382a
PING6 fe80::a096:6ff:fe65:382a: 56 bytes of data
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=0 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=1 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=2 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=3 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=4 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=5 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=6 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=7 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=8 time=0.0 ms
56 bytes from fe80::a096:6ff:fe65:382a icmp_seq=9 time=0.0 ms
10 packets transmitted, 10 received, 0% packet loss,time 10100 ms
rtt min/avg/max/mdev = 0.000/0.000/0.000/0.000 ms
nsh>
```
--
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]