新TAP测试(TODO 解析arp)
This commit is contained in:
@@ -209,7 +209,10 @@ func (nt *NetTunnel) SendFrames(stream gen.FrameService_SendFramesServer) error
|
||||
log.Panic(err)
|
||||
}
|
||||
|
||||
buf, _ := Decompress(request.GetFrames())
|
||||
buf, err := Decompress(request.GetFrames())
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
nt.writer <- buf
|
||||
|
||||
// frames := Decompress(request.GetFrames())
|
||||
|
||||
Reference in New Issue
Block a user