Commit 323e8d4a by Adam Miller

fixed firewalld get_service_enabled

parent a94a141a
...@@ -122,7 +122,7 @@ def set_port_disabled_permanent(zone, port, protocol): ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment