diff --git a/action_map.yml b/action_map.yml index 47da0103..5d7b9c70 100644 --- a/action_map.yml +++ b/action_map.yml @@ -506,8 +506,8 @@ firewall: action_help: Stop iptables and ip6tables - ### firewalli_checkUPNP() - checkUPNP: + ### firewalli_checkupnp() + checkupnp: action_help: check if UPNP is install or not (0 yes 1 no) ############################# # Tools # diff --git a/yunohost_firewall.py b/yunohost_firewall.py index 65fd91e0..2988c82b 100644 --- a/yunohost_firewall.py +++ b/yunohost_firewall.py @@ -268,7 +268,7 @@ def firewall_removeupnp(): with open('firewall.yml', 'w') as f: yaml.dump(firewall, f) -def firewall_checkUPNP(): +def firewall_checkupnp(): """ Check if UPNP is installed Keyword arguments: