Subversion Repositories oidplus

Rev

Rev 1324 | Rev 1424 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1324 Rev 1422
Line 3726... Line 3726...
3726
    {
3726
    {
3727
        switch (ord($payload[0])) {
3727
        switch (ord($payload[0])) {
3728
            case NET_SSH2_MSG_DISCONNECT:
3728
            case NET_SSH2_MSG_DISCONNECT:
3729
                Strings::shift($payload, 1);
3729
                Strings::shift($payload, 1);
3730
                list($reason_code, $message) = Strings::unpackSSH2('Ns', $payload);
3730
                list($reason_code, $message) = Strings::unpackSSH2('Ns', $payload);
3731
                $this->errors[] = 'SSH_MSG_DISCONNECT: ' . static::$disconnect_reasons[$reason_code] . "\r\n$message";
3731
                $this->errors[] = 'SSH_MSG_DISCONNECT: ' . self::$disconnect_reasons[$reason_code] . "\r\n$message";
3732
                $this->bitmap = 0;
3732
                $this->bitmap = 0;
3733
                return false;
3733
                return false;
3734
            case NET_SSH2_MSG_IGNORE:
3734
            case NET_SSH2_MSG_IGNORE:
3735
                $payload = $this->get_binary_packet($skip_channel_filter);
3735
                $payload = $this->get_binary_packet($skip_channel_filter);
3736
                break;
3736
                break;