新TAP测试(TODO 解析arp)
This commit is contained in:
parent
214e1637fe
commit
eb4399c882
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user