mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-11 08:10:58 +00:00
Merge pull request #412 from terrafrost/ssh2-connected
SSH2: make isConnected return true if even if we're not logged in * terrafrost/ssh2-connected: SSH2: make isConnected return true if even if we're not logged in
This commit is contained in:
commit
cc64ef9d3f
@ -2658,7 +2658,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