diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index 35a33e48..918d2deb 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -3697,7 +3697,7 @@ class SFTP extends SSH2 */ function getSupportedVersions() { - if (!($this->bitmap & NET_SSH2_MASK_LOGIN)) { + if (!($this->bitmap & SSH2::MASK_LOGIN)) { return false; }