This commit is contained in:
evilsocket 2018-02-11 01:11:15 +01:00
parent 3dc50222b1
commit 76d6977967

View file

@ -35,7 +35,7 @@ func (f WindowsFirewall) IsForwardingEnabled() bool {
}
}
func (f WindowsFirewall) isSuccess(output string) {
func (f WindowsFirewall) isSuccess(output string) bool {
if trimmed := core.Trim(output); trimmed == "" || strings.Contains(trimmed, "OK") == true {
return true
} else {