summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0976cd7)
raw | patch | inline | side by side (parent: 0976cd7)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 8 May 2002 15:35:37 +0000 (15:35 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 8 May 2002 15:35:37 +0000 (15:35 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@27 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 3a02597cb16cca73026829edfe3e421c528af0b7..5eada4f49c17bf79512f1efc73d2aec0004c71d2 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
(input_buffer, "%*d packets transmitted, %*d packets received, %d%% packet loss",
&pl) == 1
|| sscanf
- (input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1
+ (input_buffer, "%*d packets transmitted, %*d packets received, %d%% loss, time", &pl) == 1
+ || sscanf
+ (input_buffer, "%*d packets transmitted, %*d received, %d%% loss, time", &pl) == 1
+ /* Suse 8.0 as reported by Richard * Brodie */
)
continue;