From 8e9cf8951163b0589d1135e6f7622e33a507dc31 Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Sat, 11 Feb 2017 14:30:17 +0100 Subject: [PATCH] Fix exception message for fallback SOCKS5 error. Fixes issue #167. --- src/Renci.SshNet/Session.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renci.SshNet/Session.cs b/src/Renci.SshNet/Session.cs index 7721c11f2..caaa9ae85 100644 --- a/src/Renci.SshNet/Session.cs +++ b/src/Renci.SshNet/Session.cs @@ -2087,7 +2087,7 @@ private void ConnectSocks5() case 0x08: throw new ProxyException("SOCKS5: Address type not supported."); default: - throw new ProxyException("SOCKS4: Not valid response."); + throw new ProxyException("SOCKS5: Not valid response."); } // Read 0