fixed firewalld get_service_enabled

reviewable/pr18780/r1
Adam Miller 11 years ago
parent 1f4b63c566
commit 8b5bb43958

@ -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:

Loading…
Cancel
Save