fix process code

This commit is contained in:
MetaCubeX 2022-07-24 01:38:00 +08:00
parent b74320008a
commit 9c4bae6f23

View File

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