mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 00:32:05 -04:00
Fix Debian Bug #392610: check_jabber always return warning
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1599 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
f9c189e946
commit
e0a4206cdd
1 changed files with 2 additions and 2 deletions
|
|
@ -166,9 +166,9 @@ main (int argc, char **argv)
|
|||
}
|
||||
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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue