mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
new: implementing IsForwardingEnabled for windows firewall
This commit is contained in:
parent
a01c964e7f
commit
6c0d79341b
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ func (f WindowsFirewall) EnableForwarding(enabled bool) error {
|
|||
return fmt.Errorf("Unexpected netsh output: %s", out)
|
||||
}
|
||||
|
||||
fmt.Printf("%s\n", out)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue