From 199f1e91fba6bd1d2b78ff38998e25b6977d5770 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:56:27 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device.go b/device.go index 5081e72..5242478 100644 --- a/device.go +++ b/device.go @@ -256,6 +256,8 @@ func (nc *NetCard) runWrite() { log.Panic(err) } + log.Printf("get wframes len: %d", len(bufs)) + for _, buf := range bufs { _, err := ifce.Write(buf) if err != nil {