From 8c6e205c5a560f6179f3efdc05b17f984c077932 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Tue, 22 Nov 2022 19:16:08 +0800 Subject: [PATCH] Fix: tunnel proxy match --- tunnel/tunnel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index d659dd02..bf09f23a 100644 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -152,8 +152,8 @@ func resolveMetadata(ctx C.PlainContext, metadata *C.Metadata) (proxy C.Proxy, r proxy, exist = proxies[metadata.SpecialProxy] if !exist { err = fmt.Errorf("proxy %s not found", metadata.SpecialProxy) - return } + return } switch mode {