From 33645f5297e92bf240276fb1d1f93e4a19953b5f Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sun, 29 Mar 2015 10:58:05 -0500 Subject: [PATCH] SSH2: missed a file in the merge --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 516fa425..9bd6447c 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3029,7 +3029,7 @@ class SSH2 extract(unpack('Nlength', $this->_string_shift($response, 4))); $data = $this->_string_shift($response, $length); - if ($channel == NET_SSH2_CHANNEL_AGENT_FORWARD) { + if ($channel == self::CHANNEL_AGENT_FORWARD) { $agent_response = $this->agent->_forward_data($data); if (!is_bool($agent_response)) { $this->_send_channel_packet($channel, $agent_response);