diff --git a/netcard.go b/netcard.go index 882b962..3a9d3c5 100644 --- a/netcard.go +++ b/netcard.go @@ -110,6 +110,7 @@ func NewNetTunnel() *NetTunnel { // }) case ethernet.IPv4: log.Printf("bytes len: %d type(ipv4): % x", len(rbuf), frame.Ethertype()) + log.Println(frame.Source(), frame.Destination()) log.Printf("src: %s(%d) dst: %s(%d)", waterutil.IPv4Source(frame), waterutil.IPv4SourcePort(frame), waterutil.IPv4Destination(frame), waterutil.IPv4DestinationPort(frame)) log.Println(len(frame))