diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-01-04 11:35:56 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-01-04 11:35:56 +0000 |
commit | 7d134133eb28389fb0684c276a255fc492b2598e (patch) | |
tree | 2ab9c3af432793f05542a457dc685dea449d7fe4 /plugins/check_ping.c | |
parent | d2a434d4dba454df5b3295520a28eb28ed098e55 (diff) | |
download | monitoring-plugins-7d134133eb28389fb0684c276a255fc492b2598e.tar.gz |
Fix bug #1592605: check_ping times out
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1559 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ping.c')
-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 9652ab7f..eb3a6dbf 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -104,7 +104,7 @@ main (int argc, char **argv) } /* handle timeouts gracefully */ - alarm (timeout_interval); + alarm (timeout_interval + 1); for (i = 0 ; i < n_addresses ; i++) { |