From 53ddc3150f16143bdc01940cdac3723c1850f176 Mon Sep 17 00:00:00 2001 From: sbruens Date: Wed, 18 Sep 2024 15:47:46 -0400 Subject: [PATCH] Fix logger reference. --- service/tcp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/tcp.go b/service/tcp.go index 926274aa..bb6c4383 100644 --- a/service/tcp.go +++ b/service/tcp.go @@ -120,8 +120,8 @@ func NewShadowsocksStreamAuthenticator(ciphers CipherList, replayCache *ReplayCa if metrics == nil { metrics = &NoOpShadowsocksConnMetrics{} } - if logger == nil { - logger = &noopLogger{} + if l == nil { + l = &noopLogger{} } return func(clientConn transport.StreamConn) (string, transport.StreamConn, *onet.ConnectionError) { // Find the cipher and acess key id.