mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-14 18:59:51 +00:00
Merge branch 'master' into php5
* master: SSH2: make isConnected return true if even if we're not logged in
This commit is contained in:
commit
c2f2f4a764
@ -2655,7 +2655,7 @@ class Net_SSH2
|
|||||||
*/
|
*/
|
||||||
function isConnected()
|
function isConnected()
|
||||||
{
|
{
|
||||||
return $this->bitmap & NET_SSH2_MASK_LOGIN;
|
return $this->bitmap & NET_SSH2_MASK_CONNECTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user