From eb4399c88238a8f7473f804f547e73d3d88fc2dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Thu, 1 Sep 2022 16:25:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0TAP=E6=B5=8B=E8=AF=95(TODO=20=E8=A7=A3?= =?UTF-8?q?=E6=9E=90arp)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netcard.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netcard.go b/netcard.go index 493ab42..01c44a7 100644 --- a/netcard.go +++ b/netcard.go @@ -209,7 +209,10 @@ func (nt *NetTunnel) SendFrames(stream gen.FrameService_SendFramesServer) error log.Panic(err) } - buf, _ := Decompress(request.GetFrames()) + buf, err := Decompress(request.GetFrames()) + if err != nil { + log.Panic(err) + } nt.writer <- buf // frames := Decompress(request.GetFrames())