summaryrefslogtreecommitdiffstats
path: root/THANKS.in
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2012-06-11 21:40:04 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-06-11 21:40:04 (GMT)
commita80eafbf9cab9d80c526c504edf2ee4446a072d9 (patch)
tree505a6caeb312d63e8b2d9f1814c9b2e807258d51 /THANKS.in
parent4e9eedc8debe1388996bd5631f2df6e057854061 (diff)
downloadmonitoring-plugins-a80eafbf9cab9d80c526c504edf2ee4446a072d9.tar.gz
Improve parsing of ping6(1) output
The ping6(1) implementation provided by Debian's iputils-ping package may produce output such as the following: | 3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2009ms There's a corresponding pattern in check_ping.c:458: | "%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss" Without this fix, the pattern in check_ping.c:456 matched first (as sscanf(3) interprets "+3" as a match for "%d"): | "%*d packets transmitted, %*d received, %d%% loss, time" (#1894850 - Debian bug report #514588 - Matej Vela)
Diffstat (limited to 'THANKS.in')
-rw-r--r--THANKS.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/THANKS.in b/THANKS.in
index c858ce4..32a8868 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -272,3 +272,4 @@ Sebastian Harl
272Jason Lunn 272Jason Lunn
273Alex Griffin 273Alex Griffin
274Marc Remy 274Marc Remy
275Matej Vela