测试
This commit is contained in:
parent
3452d1c065
commit
438c071871
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("Dst: %s %s\n", waterutil.IPv4Destination(rframe), rframe.Destination())
|
||||||
log.Printf("Src: %s %s\n", waterutil.IPv4Source(rframe), rframe.Source())
|
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 buffer *[][]byte
|
||||||
var key = waterutil.IPv4Destination(rframe).String()
|
var key = waterutil.IPv4Destination(rframe).String()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user