From 94a0d099c2e2b1e27fbcae5f2d18f5c4297da03b Mon Sep 17 00:00:00 2001 From: Subhendu Ghosh Date: Wed, 8 May 2002 15:35:37 +0000 Subject: patch for Suse 8.0 loss output git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@27 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 3a02597..5eada4f 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -396,7 +396,10 @@ run_ping (char *command_line) (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; -- cgit v0.10-9-g596f