Update firewall_api.py

pull/109/head
Mr Chen 6 years ago
parent 0059edcb8e
commit e85aaedf30
  1. 2
      class/core/firewall_api.py

@ -216,7 +216,7 @@ class firewall_api:
public.execShell('/usr/sbin/ufw stop') public.execShell('/usr/sbin/ufw stop')
return return
if self.__isFirewalld: if self.__isFirewalld:
public.execShell('firewall-cmd --stop') public.execShell('systemctl stop firewalld.service')
elif self.__isMac: elif self.__isMac:
pass pass
else: else:

Loading…
Cancel
Save