This commit is contained in:
evilsocket 2018-02-10 02:57:10 +01:00
parent e39e8b0e07
commit a89da34d3a

View file

@ -87,7 +87,7 @@ func (f *WindowsFirewall) AllowPort(port int, address string, proto string, allo
return err
}
if core.Trim(out) != "" {
if core.Trim(out) != "OK." {
return fmt.Errorf("Unexpected netsh output: %s", out)
}