From 633dbaf37f23473fbdc4fd6b7403669198e80197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Mon, 29 Aug 2022 09:51:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- device.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)