mirror of https://github.com/v2ray/v2ray-core
fix a typo
parent
20251bf499
commit
7f697661cd
|
@ -208,7 +208,7 @@ func transferResponse(timer signal.ActivityUpdater, session *encoding.ServerSess
|
|||
return nil
|
||||
}
|
||||
|
||||
func isInecureEncryption(s protocol.SecurityType) bool {
|
||||
func isInsecureEncryption(s protocol.SecurityType) bool {
|
||||
return s == protocol.SecurityType_NONE || s == protocol.SecurityType_LEGACY || s == protocol.SecurityType_UNKNOWN
|
||||
}
|
||||
|
||||
|
@ -236,7 +236,7 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection i
|
|||
return err
|
||||
}
|
||||
|
||||
if h.secure && isInecureEncryption(request.Security) {
|
||||
if h.secure && isInsecureEncryption(request.Security) {
|
||||
log.Record(&log.AccessMessage{
|
||||
From: connection.RemoteAddr(),
|
||||
To: "",
|
||||
|
|
Loading…
Reference in New Issue