summaryrefslogtreecommitdiffstats
path: root/plugins/check_ping.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-28 22:34:42 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-28 22:34:42 +0000
commitb8fcd0d2587a5415266d7f3eea7ae6764900a7cc (patch)
treec9b9e942be862558b7b20f7b89f460b345a6b79e /plugins/check_ping.c
parent3c97e0f36f48bad4f1d7accb5649a0e24f21f726 (diff)
downloadmonitoring-plugins-b8fcd0d2587a5415266d7f3eea7ae6764900a7cc.tar.gz
String match in check_ping for Solaris 10 #1091043
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1064 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r--plugins/check_ping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 818bb668..2198e32b 100644
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
@@ -430,6 +430,7 @@ run_ping (const char *cmd, const char *addr)
430 sscanf(buf,"round-trip min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 || 430 sscanf(buf,"round-trip min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 ||
431 sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f",&rta)==1 || 431 sscanf(buf,"round-trip min/avg/max/std-dev = %*f/%f/%*f/%*f",&rta)==1 ||
432 sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f",&rta)==1 || 432 sscanf(buf,"round-trip (ms) min/avg/max = %*f/%f/%*f",&rta)==1 ||
433 sscanf(buf,"round-trip (ms) min/avg/max/stddev = %*f/%f/%*f/%*f",&rta)==1 ||
433 sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms",&rta)==1) 434 sscanf(buf,"rtt min/avg/max/mdev = %*f/%f/%*f/%*f ms",&rta)==1)
434 continue; 435 continue;
435 } 436 }