mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
c49a57893a
commit
f68957b769
1 changed files with 1 additions and 0 deletions
|
@ -293,6 +293,7 @@ func (mod *ArpSpoofer) arpSpoofTargets(saddr net.IP, smac net.HardwareAddr, chec
|
||||||
}
|
}
|
||||||
|
|
||||||
if gwPacket != nil {
|
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 {
|
if err = mod.Session.Queue.Send(gwPacket); err != nil {
|
||||||
mod.Error("error while sending packet: %v", err)
|
mod.Error("error while sending packet: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue