mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
c8f60e5968
commit
31489e4d70
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ func mainParser(pkt gopacket.Packet, verbose bool) bool {
|
|||
if nlayer != nil {
|
||||
if nlayer.LayerType() != layers.LayerTypeIPv4 {
|
||||
log.Debug("Unexpected layer type %s, skipping packet.", nlayer.LayerType())
|
||||
log.Debug("%s", pkt.Dump())
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue