1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 18:48:24 +01:00

Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2022-02-14 17:52:16 -06:00
commit 6f19948091

View File

@ -234,11 +234,10 @@ class Agent
* Signal that agent forwarding should * Signal that agent forwarding should
* be requested when a channel is opened * be requested when a channel is opened
* *
* @param Net_SSH2 $ssh
* @return bool * @return bool
* @access public * @access public
*/ */
function startSSHForwarding($ssh) function startSSHForwarding()
{ {
if ($this->forward_status == self::FORWARD_NONE) { if ($this->forward_status == self::FORWARD_NONE) {
$this->forward_status = self::FORWARD_REQUEST; $this->forward_status = self::FORWARD_REQUEST;