diff --git a/tap.go b/tap.go index 9f22920..67d5979 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\n", rframe.Ethertype()) + log.Printf("Ethertype: %x %v\n", rframe.Ethertype(), waterutil.IsIPv4(rframe)) var buffer *[][]byte var key = waterutil.IPv4Destination(rframe).String()