diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 07fa0a9c..d4d03223 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
| @@ -166,9 +166,9 @@ main (int argc, char **argv) | |||
| 166 | } | 166 | } |
| 167 | else if (!strncmp(SERVICE, "JABBER", 6)) { | 167 | else if (!strncmp(SERVICE, "JABBER", 6)) { |
| 168 | SEND = "<stream:stream to=\'host\' xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'>\n"; | 168 | SEND = "<stream:stream to=\'host\' xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'>\n"; |
| 169 | EXPECT = "<?xml version=\'1.0\'?><stream:stream xmlns:stream=\'http://etherx.jabber.org/streams\'"; | 169 | EXPECT = "<?xml version=\'1.0\'?><stream:stream xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'"; |
| 170 | QUIT = "</stream:stream>\n"; | 170 | QUIT = "</stream:stream>\n"; |
| 171 | flags |= FLAG_SSL | FLAG_HIDE_OUTPUT; | 171 | flags |= FLAG_HIDE_OUTPUT; |
| 172 | PORT = 5222; | 172 | PORT = 5222; |
| 173 | } | 173 | } |
| 174 | else if (!strncmp (SERVICE, "NNTPS", 5)) { | 174 | else if (!strncmp (SERVICE, "NNTPS", 5)) { |
