diff --git a/device.go b/device.go index 093d0aa..2257458 100644 --- a/device.go +++ b/device.go @@ -94,7 +94,7 @@ func (cli *RPCClient) run() { // log.Println(err) // } - log.Printf("%v %d", cliBuffer, len(buf.Bytes())) + log.Printf("send to target bytes: %d", len(buf.Bytes())) // 发到对面的网卡 err = stream.Send(&gen.Request{ Frames: buf.Bytes(), @@ -257,7 +257,7 @@ func (nc *NetCard) runWrite() { log.Panic(err) } - log.Printf("get wframes len: %d", len(bufs)) + log.Printf("get wframes decode len: %d", len(bufs)) for _, buf := range bufs { _, err := ifce.Write(buf)