diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 211f74e..bf726d8 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -105,7 +105,7 @@ main (int argc, char **argv) | |||
105 | 105 | ||
106 | /* If ./configure finds ping has timeout values, set plugin alarm slightly | 106 | /* If ./configure finds ping has timeout values, set plugin alarm slightly |
107 | * higher so that we can use response from command line ping */ | 107 | * higher so that we can use response from command line ping */ |
108 | #ifdef PING_PACKETS_FIRST && PING_HAS_TIMEOUT | 108 | #if defined(PING_PACKETS_FIRST) && defined(PING_HAS_TIMEOUT) |
109 | alarm (timeout_interval + 1); | 109 | alarm (timeout_interval + 1); |
110 | #else | 110 | #else |
111 | alarm (timeout_interval); | 111 | alarm (timeout_interval); |