fix: OpenClash 回环

This commit is contained in:
adlyq
2022-06-01 12:32:45 +08:00
parent c95735f083
commit 1af39cb228
2 changed files with 7 additions and 23 deletions

View File

@ -38,7 +38,9 @@ func FindUid(network string, srcIP netip.Addr, srcPort int) (int32, error) {
}
func ShouldFindProcess(metadata *C.Metadata) bool {
if !enableFindProcess || metadata.Process != "" || metadata.ProcessPath != "" {
if !enableFindProcess ||
metadata.Process != "" ||
metadata.ProcessPath != "" {
return false
}
for _, ip := range localIPs {