Rename errors with Error prefix

This commit is contained in:
v2ray committed 2016-01-30 12:23:56 +01:00
1 parent 2f76680fe9
commit f34e253ea3
10 files changed
+31 -37

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ func ReadAuthentication(reader io.Reader) (auth Socks5AuthenticationRequest, aut
auth.version = buffer.Value[0]
if auth.version != socksVersion {
log.Warning("Socks: Unknown protocol version ", auth.version)
err = proxy.InvalidProtocolVersion
err = proxy.ErrorInvalidProtocolVersion
return
}