mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
fix process code
This commit is contained in:
parent
c3fa4a0121
commit
349f8a54c8
|
@ -15,6 +15,10 @@ const (
|
||||||
proccallnumpidinfo = 0x2
|
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) {
|
func findProcessName(network string, ip netip.Addr, port int) (int32, string, error) {
|
||||||
var spath string
|
var spath string
|
||||||
switch network {
|
switch network {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user