Closed auerswal closed 6 months ago
Both options -a (--alive) and -u (--unreachable) should probably just be ignored with -c N (--count N), but they seem to have the same effect as -q (--quiet).
-a
--alive
-u
--unreachable
-c N
--count N
-q
--quiet
fping version:
fping
$ fping -v fping: Version 5.1
Expected behavior:
$ fping -c3 8.8.8.{7,8} 8.8.8.8 : [0], 64 bytes, 74.9 ms (74.9 avg, 0% loss) 8.8.8.7 : [0], timed out (NaN avg, 100% loss) 8.8.8.8 : [1], 64 bytes, 63.8 ms (69.3 avg, 0% loss) 8.8.8.7 : [1], timed out (NaN avg, 100% loss) 8.8.8.8 : [2], 64 bytes, 73.8 ms (70.8 avg, 0% loss) 8.8.8.7 : [2], timed out (NaN avg, 100% loss) 8.8.8.7 : xmt/rcv/%loss = 3/0/100% 8.8.8.8 : xmt/rcv/%loss = 3/3/0%, min/avg/max = 63.8/70.8/74.9
$ fping -c3 -q 8.8.8.{7,8} 8.8.8.7 : xmt/rcv/%loss = 3/0/100% 8.8.8.8 : xmt/rcv/%loss = 3/3/0%, min/avg/max = 60.8/61.7/62.4
Unexpected behavior:
$ fping -c3 -a 8.8.8.{7,8} 8.8.8.7 : xmt/rcv/%loss = 3/0/100% 8.8.8.8 : xmt/rcv/%loss = 3/3/0%, min/avg/max = 72.8/76.3/82.1
$ fping -c3 -u 8.8.8.{7,8} 8.8.8.7 : xmt/rcv/%loss = 3/0/100% 8.8.8.8 : xmt/rcv/%loss = 3/3/0%, min/avg/max = 50.1/55.6/65.2
(I have noticed this while looking into issues #271 and #274.)
Both options
-a
(--alive
) and-u
(--unreachable
) should probably just be ignored with-c N
(--count N
), but they seem to have the same effect as-q
(--quiet
).fping
version:Expected behavior:
Unexpected behavior:
(I have noticed this while looking into issues #271 and #274.)