Skip to content

Commit

Permalink
chore: don't lookup process when Type==INNER
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx committed Mar 28, 2024
1 parent 06b5121 commit 367a287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tunnel/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
defer configMux.RUnlock()
var (
resolved bool
attemptProcessLookup = true
attemptProcessLookup = metadata.Type != C.INNER
)

if node, ok := resolver.DefaultHosts.Search(metadata.Host, false); ok {
Expand Down

0 comments on commit 367a287

Please sign in to comment.