Package: fping
Version: 3.10-1
Severity: normal
The fping man page says:
-q Quiet. Don't show per-probe results, but only the final summary.
Also don't show ICMP error messages.
However this is not correct, only unreachable ICMP messages are not
displayed.
The problem is in handle_random_icmp() in fping.c
If you look at the switch statement, ICMP_UNREACH uses print_warning
but the other ICMP codes use fprintf().
To me either the man page needs to be re-written OR (my preference)
the other ICMP codes use print_warning.
They are found in 1844 and 1858 of fping.c
I'm having a script fail because it doesn't expect to see these
messages. Sure, I'll fix the script but I think fping should be fixed
too.
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fping depends on:
ii libc6 2.19-7
ii libcap2-bin 1:2.24-3
fping recommends no packages.
fping suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]