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:
commit
6f19948091
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user