Skip to content

Commit

Permalink
Fix exception message for fallback SOCKS5 error.
Browse files Browse the repository at this point in the history
Fixes issue #167.
  • Loading branch information
drieseng committed Feb 11, 2017
1 parent 991bff1 commit 8e9cf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renci.SshNet/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e9cf89

Please sign in to comment.