mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
bugfix
This commit is contained in:
parent
da4e8314a2
commit
9b73e30882
1 changed files with 2 additions and 2 deletions
|
@ -202,9 +202,9 @@ def add_portmapping(protocol=None, upnp=False, ipv6=None, mode=None,):
|
|||
None
|
||||
"""
|
||||
if ipv6:
|
||||
os.system _("ip6tables -P INPUT ACCEPT")
|
||||
os.system("ip6tables -P INPUT ACCEPT")
|
||||
else:
|
||||
os.system _("iptables -P INPUT ACCEPT")
|
||||
os.system("iptables -P INPUT ACCEPT")
|
||||
|
||||
if upnp and mode == 'a':
|
||||
remove_portmapping()
|
||||
|
|
Loading…
Reference in a new issue