mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 01:23:14 +08:00
Fix: find process name by UDP network on macOS
This commit is contained in:
parent
2f234cf6bc
commit
592b6a785e
@ -70,7 +70,7 @@ func findProcessName(network string, ip net.IP, port int) (string, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
if !ip.Equal(srcIP) {
|
||||
if !ip.Equal(srcIP) && (network == TCP || !srcIP.IsUnspecified()) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user