From 9c4bae6f23d12373f49603af55628fcf5cf8f7b2 Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Sun, 24 Jul 2022 01:38:00 +0800 Subject: [PATCH] fix process code --- component/process/process_darwin.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/component/process/process_darwin.go b/component/process/process_darwin.go index 3c2007fd..169c7beb 100644 --- a/component/process/process_darwin.go +++ b/component/process/process_darwin.go @@ -15,6 +15,10 @@ const ( proccallnumpidinfo = 0x2 ) +func resolveSocketByNetlink(network string, ip netip.Addr, srcPort int) (int32, int32, error) { + return 0, 0, ErrPlatformNotSupport +} + func findProcessName(network string, ip netip.Addr, port int) (int32, string, error) { var spath string switch network {