diff --git a/tap.go b/tap.go index 895b911..6219771 100644 --- a/tap.go +++ b/tap.go @@ -160,6 +160,8 @@ func (nc *NetCard) runRead() { log.Fatal(err) } + log.Println(net.IP(rframe.Destination()).String()) + if rframe.Ethertype() != ethernet.IPv4 { continue }