新TAP测试(TODO 解析arp)

This commit is contained in:
黄思敏 2022-09-01 16:25:07 +08:00
parent 214e1637fe
commit eb4399c882

View File

@ -209,7 +209,10 @@ func (nt *NetTunnel) SendFrames(stream gen.FrameService_SendFramesServer) error
log.Panic(err) log.Panic(err)
} }
buf, _ := Decompress(request.GetFrames()) buf, err := Decompress(request.GetFrames())
if err != nil {
log.Panic(err)
}
nt.writer <- buf nt.writer <- buf
// frames := Decompress(request.GetFrames()) // frames := Decompress(request.GetFrames())