mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +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()
|
||||
{
|
||||
return $this->bitmap & NET_SSH2_MASK_LOGIN;
|
||||
return $this->bitmap & NET_SSH2_MASK_CONNECTED;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user