From 35b87e79a702d18b18b149e2a1452dce1a735a82 Mon Sep 17 00:00:00 2001 From: MetaCubeX Date: Sun, 24 Jul 2022 01:32:22 +0800 Subject: [PATCH] fix process code --- component/process/process_darwin.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/component/process/process_darwin.go b/component/process/process_darwin.go index 169c7beb..3c2007fd 100644 --- a/component/process/process_darwin.go +++ b/component/process/process_darwin.go @@ -15,10 +15,6 @@ 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 {