[Nagiosplug-checkins] nagiosplug/plugins check_tcp.c,1.73,1.74

Ton Voon tonvoon at users.sourceforge.net
Fri Nov 4 01:39:47 CET 2005


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7308/plugins

Modified Files:
	check_tcp.c 
Log Message:
Fixed --mismatch option for check_tcp. Added tests into check_imap
(Rick Fey - 1339134)


Index: check_tcp.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_tcp.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- check_tcp.c	31 Oct 2005 20:03:19 -0000	1.73
+++ check_tcp.c	4 Nov 2005 09:38:24 -0000	1.74
@@ -311,7 +311,7 @@
 
 	/* 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);





More information about the Commits mailing list