Merge pull request #4348 from maxamillion/fix_firewalld

fixed get_service_enabled call
This commit is contained in:
James Cammarata 2013-10-02 17:10:25 -07:00
commit 33d13a6888

View file

@ -122,7 +122,7 @@ def set_port_disabled_permanent(zone, port, protocol):
#################### ####################
# service handling # service handling
# #
def get_service_enabled(zone): def get_service_enabled(zone, service):
if service in fw.getServices(zone): if service in fw.getServices(zone):
return True return True
else: else: