This commit is contained in:
黄思敏 2022-08-25 18:17:51 +08:00
parent 185af2c1bf
commit 2b9471e72c

1
tap.go
View File

@ -160,7 +160,6 @@ func (nc *NetCard) runRead() {
log.Fatal(err)
}
log.Panicf("%v", rframe)
log.Printf("%v %v", net.IP(rframe.Source()).String(), rframe.Destination())
if rframe.Ethertype() != ethernet.IPv4 {