[root@openEuler ~]# ping 9.82.207.145
PING 9.82.207.145 (9.82.207.145) 56(84) bytes of data.
64 bytes from 9.82.207.145: icmp_seq=1 ttl=64 time=0.930 ms
64 bytes from 9.82.207.145: icmp_seq=2 ttl=64 time=0.307 ms
--- 9.82.207.145 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1014ms
rtt min/avg/max/mdev = 0.307/0.618/0.930/0.311 ms
[root@openEuler ~]# arping 9.82.207.145 -U -c 1
ARPING 9.82.207.145 from 9.82.211.86 enp3s0
Unicast reply from 9.82.207.145 [52:54:00:ED:21:67] 1.163ms
Sent 1 probes (1 broadcast(s))
Received 1 response(s)
[root@openEuler ~]# echo $?
0
[root@openEuler ~]# arping 9.82.207.145 -c 2
ARPING 9.82.207.145 from 9.82.211.86 enp3s0
Unicast reply from 9.82.207.145 [52:54:00:ED:21:67] 1.173ms
Unicast reply from 9.82.207.145 [52:54:00:ED:21:67] 0.770ms
Sent 2 probes (1 broadcast(s))
Received 2 response(s)
[root@openEuler ~]#
Hey ailing_4515653, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
iputils 问题,不是 kernel 问题。
该问题已经通过此pr进行合入:https://gitee.com/src-openeuler/iputils/commit/aa367b3468f08289f7c7361b4fae3330a6dba474
测试结果图如下,采用-U无返回值:
登录 后才可以发表评论