From f5113e13521e8e362f16444f3aa419236d55f736 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Fri, 22 Nov 2024 17:23:31 -0600 Subject: [PATCH] SSH2: rm extra_packets in a few more places --- phpseclib/Net/SSH2.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 619289bc..c4970d49 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3869,11 +3869,9 @@ class SSH2 case NET_SSH2_MSG_DISCONNECT: return $this->handleDisconnect($payload); case NET_SSH2_MSG_IGNORE: - $this->extra_packets++; $payload = $this->get_binary_packet(); break; case NET_SSH2_MSG_DEBUG: - $this->extra_packets++; Strings::shift($payload, 2); // second byte is "always_display" list($message) = Strings::unpackSSH2('s', $payload); $this->errors[] = "SSH_MSG_DEBUG: $message";