From f4b1dc1a4e11651f6bfc629cb1a9b9e811f26a65 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 11:16:29 +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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/device.go b/device.go index 63a1355..26304ec 100644 --- a/device.go +++ b/device.go @@ -221,10 +221,13 @@ func (nc *NetCard) runRead() { buffer.BytesArray = append(buffer.BytesArray, []byte(rframe)) } - continue - for dst, buffer := range bytesMap { + for _, buf := range buffer.BytesArray { + ifce.Write(buf) + } + continue + var cli *RPCClient if cli, ok = nc.clientMap[dst]; !ok {