From ba9aa3b7dbf661df71c6c373b17f6248589bdba8 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 09:14:30 +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 67d5979..33cde84 100644 --- a/tap.go +++ b/tap.go @@ -166,7 +166,7 @@ func (nc *NetCard) runRead() { log.Printf("Dst: %s %s\n", waterutil.IPv4Destination(rframe), rframe.Destination()) log.Printf("Src: %s %s\n", waterutil.IPv4Source(rframe), rframe.Source()) - log.Printf("Ethertype: %x %v\n", rframe.Ethertype(), waterutil.IsIPv4(rframe)) + log.Printf("Ethertype: % x %v\n", rframe.Ethertype(), waterutil.IsIPv4(rframe)) var buffer *[][]byte var key = waterutil.IPv4Destination(rframe).String()