Fixed a bug in applying a rule during delete

This commit is contained in:
rperper
2018-11-14 15:39:07 -05:00
parent 654a4b4f00
commit b2cc3ac34c

View File

@@ -81,11 +81,6 @@ class FirewallUtilities:
command = 'sudo firewall-cmd --reload'
ruleFamily = 'rule family="ipv6"'
sourceAddress = ''
command = "sudo firewall-cmd --permanent --zone=public --add-rich-rule='" + ruleFamily + " " + sourceAddress + " " + ruleProtocol + " " + rulePort + " " + "accept'"
if not FirewallUtilities.doComamnd(command):
return 0