This commit is contained in:
titoko 2013-06-24 19:59:01 +02:00
parent da4e8314a2
commit 9b73e30882

View file

@ -202,9 +202,9 @@ def add_portmapping(protocol=None, upnp=False, ipv6=None, mode=None,):
None None
""" """
if ipv6: if ipv6:
os.system _("ip6tables -P INPUT ACCEPT") os.system("ip6tables -P INPUT ACCEPT")
else: else:
os.system _("iptables -P INPUT ACCEPT") os.system("iptables -P INPUT ACCEPT")
if upnp and mode == 'a': if upnp and mode == 'a':
remove_portmapping() remove_portmapping()