summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 703a4bf)
raw | patch | inline | side by side (parent: 703a4bf)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 25 May 2005 14:25:55 +0000 (14:25 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 25 May 2005 14:25:55 +0000 (14:25 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1181 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ping.c | patch | blob | history |
diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index 74b6fce2097cb82bfd3afd22745a43b81bacaf5e..50878337118d22db9af5022d7170e2226375bb3e 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
sscanf(buf,"%*d packets transmitted, %*d packets received, %d%% loss, time",&pl)==1 ||
sscanf(buf,"%*d packets transmitted, %*d received, %d%% loss, time", &pl)==1 ||
sscanf(buf,"%*d packets transmitted, %*d received, %d%% packet loss, time", &pl)==1 ||
- sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1)
+ sscanf(buf,"%*d packets transmitted, %*d received, +%*d errors, %d%% packet loss", &pl) == 1 ||
+ sscanf(buf,"%*d packets transmitted %*d received, +%*d errors, %d%% packet loss", &pl) == 1
+ )
continue;
/* get the round trip average */