Ping sleep even when sending one packet
Hello, a small change would be required to make the utility not sleep for another packet if there isn't one.
Pinging an ip with the ip command return instantly if one packet is sent.
# time batctl p b8:27:eb:d6:b6:6f -c 1 PING b8:27:eb:d6:b6:6f (b8:27:eb:d6:b6:6f) 20(48) bytes of data 20 bytes from b8:27:eb:d6:b6:6f icmp_seq=1 ttl=50 time=8.77 ms --- b8:27:eb:d6:b6:6f ping statistics --- 1 packets transmitted, 1 received, 0% packet loss rtt min/avg/max/mdev = 8.769/8.769/8.769/0.000 ms real 0m1.033s user 0m0.020s sys 0m0.002s
Updated by Sven Eckelmann 8 months ago
- % Done changed from 0 to 100
- Target version set to 2022.1
- Status changed from New to Resolved