mirror of
https://github.com/bettercap/bettercap
synced 2025-07-05 20:42:09 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
1300d51822
commit
848f930b6d
1 changed files with 1 additions and 3 deletions
|
@ -211,9 +211,7 @@ func (p *ArpSpoofer) Configure() error {
|
|||
log.Warning("Running in BAN mode, forwarding not enabled!")
|
||||
p.Session.Firewall.EnableForwarding(false)
|
||||
} else if runtime.GOOS == "windows" {
|
||||
// TODO Clean. Forwarding should be removed from Windows OS.
|
||||
//log.Info("Using user space packet routing, disable forwarding.")
|
||||
//p.Session.Firewall.EnableForwarding(false)
|
||||
log.Warning("Using user space packet forwarding (Windows sucks), performance will be slow.")
|
||||
p.Session.Queue.Route(p.pktRouter)
|
||||
} else if p.Session.Firewall.IsForwardingEnabled() == false {
|
||||
log.Info("Enabling forwarding.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue