diff --git a/component/process/process_darwin.go b/component/process/process_darwin.go index 7e4baf74..a484c78d 100644 --- a/component/process/process_darwin.go +++ b/component/process/process_darwin.go @@ -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 }