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

This commit is contained in:
evilsocket 2019-03-13 13:40:16 +01:00
commit f68957b769
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -293,6 +293,7 @@ func (mod *ArpSpoofer) arpSpoofTargets(saddr net.IP, smac net.HardwareAddr, chec
}
if gwPacket != nil {
mod.Debug("sending %d bytes of ARP packet to the gateway", len(gwPacket))
if err = mod.Session.Queue.Send(gwPacket); err != nil {
mod.Error("error while sending packet: %v", err)
}