diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-12-19 19:30:52 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-12-19 19:30:52 +0000 |
commit | 6f1fc7e3a0196dabe442ef3e4b00c285c954ccd5 (patch) | |
tree | e32c16d8ff3ae49b4e1631a75f03f6cb17b3a48a /plugins/check_tcp.c | |
parent | 198b425de624e8d67b537fd559d2c6cbd40d12ee (diff) | |
download | monitoring-plugins-6f1fc7e3a0196dabe442ef3e4b00c285c954ccd5.tar.gz |
expect is +OK for SPOP too
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@233 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 cbe85956..32d38b42 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -171,7 +171,7 @@ main (int argc, char **argv) asprintf (&PROGNAME, "check_spop"); asprintf (&SERVICE, "SPOP"); SEND=NULL; - asprintf (&EXPECT, "110"); + asprintf (&EXPECT, "+OK"); asprintf (&QUIT, "QUIT\r\n"); PROTOCOL=TCP_PROTOCOL; use_ssl=TRUE; |