summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9c189e)
raw | patch | inline | side by side (parent: f9c189e)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Wed, 31 Jan 2007 04:47:30 +0000 (04:47 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Wed, 31 Jan 2007 04:47:30 +0000 (04:47 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1599 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_tcp.c | patch | blob | history |
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 07fa0a9c6fa5d6515ea02def090083f70c92fe57..d4d032238f17c626076ae809ee6967ebd01259ac 100644 (file)
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
}
else if (!strncmp(SERVICE, "JABBER", 6)) {
SEND = "<stream:stream to=\'host\' xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'>\n";
- EXPECT = "<?xml version=\'1.0\'?><stream:stream xmlns:stream=\'http://etherx.jabber.org/streams\'";
+ EXPECT = "<?xml version=\'1.0\'?><stream:stream xmlns=\'jabber:client\' xmlns:stream=\'http://etherx.jabber.org/streams\'";
QUIT = "</stream:stream>\n";
- flags |= FLAG_SSL | FLAG_HIDE_OUTPUT;
+ flags |= FLAG_HIDE_OUTPUT;
PORT = 5222;
}
else if (!strncmp (SERVICE, "NNTPS", 5)) {