From 3452d1c065248df457423247341c08d1c45537b9 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:04:17 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tap.go b/tap.go index e04a179..9f22920 100644 --- a/tap.go +++ b/tap.go @@ -164,8 +164,8 @@ func (nc *NetCard) runRead() { // log.Printf("Payload: % x\n", rframe.Payload()) - log.Printf("Dst: %s\n", waterutil.IPv4Destination(rframe)) - log.Printf("Src: %s\n", waterutil.IPv4Source(rframe)) + 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\n", rframe.Ethertype()) var buffer *[][]byte