From f111bf94b61550fc4685f1c17a5041102aa7410e Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 23 Mar 2019 18:42:40 -0500 Subject: [PATCH] SSH2: fix issue with reconnecting via ping() --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 8c29fdea..c4098ac3 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3408,7 +3408,7 @@ class Net_SSH2 return false; } foreach ($this->auth as $auth) { - $result = call_user_func_array(array(&$this, 'parent::login'), $auth); + $result = call_user_func_array(array(&$this, 'login'), $auth); } return $result; }