misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-09-13 12:42:45 +02:00
commit 7a662cfee4
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -102,6 +102,7 @@ func mainParser(pkt gopacket.Packet, verbose bool) bool {
tlayer := pkt.TransportLayer()
if tlayer == nil {
log.Debug("Missing transport layer skipping packet.")
log.Debug("%s", pkt.Dump())
return false
}