fix process code

This commit is contained in:
MetaCubeX 2022-07-24 01:32:22 +08:00
parent 9be70f67ca
commit 35b87e79a7

View file

@ -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 {