This commit is contained in:
Maze.tsz
2021-12-04 17:41:13 +08:00
parent 58552447ef
commit 8580ee8898
5 changed files with 60 additions and 33 deletions

View File

@ -27,9 +27,8 @@ func (ps *Process) Match(metadata *C.Metadata) bool {
if metadata.Process != "" {
return strings.EqualFold(metadata.Process, ps.process)
}
// ignore match in proxy type "tproxy"
if metadata.Type == C.TPROXY {
if metadata.Type == C.TPROXY || !C.OpenWrt {
return false
}