From a80eafbf9cab9d80c526c504edf2ee4446a072d9 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 11 Jun 2012 23:40:04 +0200 Subject: 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) --- THANKS.in | 1 + 1 file changed, 1 insertion(+) (limited to 'THANKS.in') diff --git a/THANKS.in b/THANKS.in index c858ce48..32a8868d 100644 --- a/THANKS.in +++ b/THANKS.in @@ -272,3 +272,4 @@ Sebastian Harl Jason Lunn Alex Griffin Marc Remy +Matej Vela -- cgit v1.2.3