From 0c5f40b87617210415b12e88b7506fab1fc8fb8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Fri, 26 Aug 2022 10:20:36 +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 --- tap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap.go b/tap.go index 40e27ca..0b475fc 100644 --- a/tap.go +++ b/tap.go @@ -83,9 +83,9 @@ func (cli *RPCClient) run() { enc := gob.NewEncoder(zenc) cliBuffer := <-cli.FrameChan - log.Printf("%v", cliBuffer) enc.Encode(cliBuffer.BytesArray) + log.Printf("%v %d", cliBuffer, len(cliBuffer.BytesArray)) // 发到对面的网卡 err = stream.Send(&gen.Request{ Frames: buf.Bytes(),