mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-12-19 16:30:07 +08:00
chore: deprecate find process on freebsd 11
This commit is contained in:
parent
17966b5418
commit
5f595510d3
@ -180,20 +180,6 @@ func (s *searcher) searchSocketPid(socket uint64) (uint32, error) {
|
|||||||
func newSearcher(major int) *searcher {
|
func newSearcher(major int) *searcher {
|
||||||
var s *searcher
|
var s *searcher
|
||||||
switch major {
|
switch major {
|
||||||
case 11:
|
|
||||||
s = &searcher{
|
|
||||||
headSize: 32,
|
|
||||||
tcpItemSize: 1304,
|
|
||||||
udpItemSize: 632,
|
|
||||||
port: 198,
|
|
||||||
ip: 228,
|
|
||||||
vflag: 116,
|
|
||||||
socket: 88,
|
|
||||||
fileItemSize: 80,
|
|
||||||
data: 56,
|
|
||||||
pid: 8,
|
|
||||||
udpInpOffset: 8,
|
|
||||||
}
|
|
||||||
case 12:
|
case 12:
|
||||||
fallthrough
|
fallthrough
|
||||||
case 13:
|
case 13:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user