mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
a49190bb5b
commit
dd5822cfe1
1 changed files with 4 additions and 0 deletions
|
@ -162,6 +162,10 @@ func (p *ArpSpoofer) pktRouter(eth *layers.Ethernet, ip4 *layers.IPv4, pkt gopac
|
|||
}
|
||||
|
||||
log.Warning("Got packet to route: %s\n", pkt.String())
|
||||
|
||||
copy(eth.DstMAC, p.Session.Gateway.HW)
|
||||
|
||||
log.Warning("After: %s\n", pkt.String())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue