Skip to content

Commit 8e9cf89

Browse files
committed
Fix exception message for fallback SOCKS5 error.
Fixes issue #167.
1 parent 991bff1 commit 8e9cf89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Renci.SshNet/Session.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ private void ConnectSocks5()
20872087
case 0x08:
20882088
throw new ProxyException("SOCKS5: Address type not supported.");
20892089
default:
2090-
throw new ProxyException("SOCKS4: Not valid response.");
2090+
throw new ProxyException("SOCKS5: Not valid response.");
20912091
}
20922092

20932093
// Read 0

0 commit comments

Comments
 (0)