Project

General

Profile

Actions

Feature #424

closed

Ping sleep even when sending one packet

Added by Roman Le bg over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Target version:
Start date:
04/22/2022
Due date:
% Done:

100%

Estimated time:

Description

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.

see

# 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

Actions

Also available in: Atom PDF