测试
This commit is contained in:
parent
a88a1377c4
commit
3452d1c065
4
tap.go
4
tap.go
|
@ -164,8 +164,8 @@ func (nc *NetCard) runRead() {
|
|||
|
||||
// log.Printf("Payload: % x\n", rframe.Payload())
|
||||
|
||||
log.Printf("Dst: %s\n", waterutil.IPv4Destination(rframe))
|
||||
log.Printf("Src: %s\n", waterutil.IPv4Source(rframe))
|
||||
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())
|
||||
|
||||
var buffer *[][]byte
|
||||
|
|
Loading…
Reference in New Issue
Block a user