测试
This commit is contained in:
parent
254d3d23f3
commit
1b33e66799
|
@ -237,7 +237,6 @@ func (nc *NetCard) runWrite() {
|
|||
for wframe := range nc.FrameChan {
|
||||
|
||||
log.Printf("get wframes bytes len: %d", len(wframe))
|
||||
|
||||
buf.Reset()
|
||||
buf.Write(wframe)
|
||||
|
||||
|
@ -254,6 +253,8 @@ func (nc *NetCard) runWrite() {
|
|||
log.Panic(err)
|
||||
}
|
||||
|
||||
zdec.Close()
|
||||
|
||||
for _, buf := range bufs {
|
||||
_, err := ifce.Write(buf)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user