测试
This commit is contained in:
parent
438c071871
commit
ba9aa3b7db
2
tap.go
2
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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user