diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2005-11-04 09:38:24 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2005-11-04 09:38:24 +0000 |
commit | 003c6dea156e857b4c8f2498ea78332f6315ffae (patch) | |
tree | dbf6ebb566c1f0067c1e7ff554c36e4225245c12 /plugins/check_tcp.c | |
parent | 9d6f48dd417d00b3410023a35f4e39bed9b96ed4 (diff) | |
download | monitoring-plugins-003c6dea156e857b4c8f2498ea78332f6315ffae.tar.gz |
Fixed --mismatch option for check_tcp. Added tests into check_imap
(Rick Fey - 1339134)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1273 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index cb7a869d..08ec8565 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -311,7 +311,7 @@ main (int argc, char **argv) | |||
311 | 311 | ||
312 | /* did we get the response we hoped? */ | 312 | /* did we get the response we hoped? */ |
313 | if(match == -2 && result != STATE_CRITICAL) | 313 | if(match == -2 && result != STATE_CRITICAL) |
314 | result = STATE_WARNING; | 314 | result = expect_mismatch_state; |
315 | 315 | ||
316 | /* reset the alarm */ | 316 | /* reset the alarm */ |
317 | alarm (0); | 317 | alarm (0); |