From 003c6dea156e857b4c8f2498ea78332f6315ffae Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 4 Nov 2005 09:38:24 +0000 Subject: 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 --- plugins/check_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_tcp.c') 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) /* did we get the response we hoped? */ if(match == -2 && result != STATE_CRITICAL) - result = STATE_WARNING; + result = expect_mismatch_state; /* reset the alarm */ alarm (0); -- cgit v1.2.3-74-g34f1