This commit is contained in:
Vincent Loeng/Leong 2025-12-18 13:53:11 +00:00 committed by GitHub
commit e748c7d12e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -180,20 +180,6 @@ func (s *searcher) searchSocketPid(socket uint64) (uint32, error) {
func newSearcher(major int) *searcher {
var s *searcher
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:
fallthrough
case 13: