From 9b1f8a260accd9f6305abdd2ca61688840b5e8be Mon Sep 17 00:00:00 2001 From: terrafrost Date: Wed, 16 Jun 2021 08:12:09 -0500 Subject: [PATCH] SSH2: NET_SSH2_CHANNEL_KEEP_ALIVE -> self::CHANNEL_KEEP_ALIVE --- 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 070fc47b..7da287af 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3092,7 +3092,7 @@ class SSH2 return $this->reconnect(); } - $this->close_channel(NET_SSH2_CHANNEL_KEEP_ALIVE); + $this->close_channel(self::CHANNEL_KEEP_ALIVE); return true; }