fixed firewalld get_service_enabled
This commit is contained in:
parent
1f4b63c566
commit
8b5bb43958
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ def set_port_disabled_permanent(zone, port, protocol):
|
|||
####################
|
||||
# service handling
|
||||
#
|
||||
def get_service_enabled(zone):
|
||||
def get_service_enabled(zone, service):
|
||||
if service in fw.getServices(zone):
|
||||
return True
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue