new: implementing IsForwardingEnabled for windows firewall

This commit is contained in:
evilsocket 2018-02-08 01:24:05 +01:00
commit 6c0d79341b

View file

@ -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
}