summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/Makefile.am
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 /plugins-scripts/Makefile.am
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 'plugins-scripts/Makefile.am')
0 files changed, 0 insertions, 0 deletions