Fix: tunnel proxy match

This commit is contained in:
Dreamacro 2022-11-22 19:16:08 +08:00
parent 5b07d7b776
commit 8c6e205c5a

View file

@ -152,8 +152,8 @@ func resolveMetadata(ctx C.PlainContext, metadata *C.Metadata) (proxy C.Proxy, r
proxy, exist = proxies[metadata.SpecialProxy] proxy, exist = proxies[metadata.SpecialProxy]
if !exist { if !exist {
err = fmt.Errorf("proxy %s not found", metadata.SpecialProxy) err = fmt.Errorf("proxy %s not found", metadata.SpecialProxy)
return
} }
return
} }
switch mode { switch mode {