NET_SSH2_ -> self::

This commit is contained in:
Andreas Fischer 2015-01-04 11:38:03 +01:00
parent ec21aa23f1
commit 1c923576c6
1 changed files with 1 additions and 1 deletions

View File

@ -3277,7 +3277,7 @@ class SSH2
*/
function _disconnect($reason)
{
if ($this->bitmap & NET_SSH2_MASK_CONNECTED) {
if ($this->bitmap & self::MASK_CONNECTED) {
$data = pack('CNNa*Na*', NET_SSH2_MSG_DISCONNECT, $reason, 0, '', 0, '');
$this->_send_binary_packet($data);
$this->bitmap = 0;