mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 18:57:17 -07:00
new: implementing IsForwardingEnabled for windows firewall
This commit is contained in:
parent
c87e1e7f1d
commit
5887883683
4 changed files with 14 additions and 6 deletions
|
@ -224,7 +224,7 @@ func (s *Session) Start() error {
|
|||
s.Env.Set("gateway.mac", s.Gateway.HwAddress)
|
||||
|
||||
s.Targets = NewTargets(s, s.Interface, s.Gateway)
|
||||
s.Firewall = firewall.Make()
|
||||
s.Firewall = firewall.Make(s.Interface)
|
||||
|
||||
if err := s.setupInput(); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue