mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Disable resolve ip
This commit is contained in:
parent
1131e76f4c
commit
917b2961d2
1 changed files with 2 additions and 2 deletions
|
@ -256,7 +256,7 @@ def firewall_reload(skip_upnp=False):
|
|||
|
||||
# IPv4
|
||||
try:
|
||||
process.check_output("iptables -w -L")
|
||||
process.check_output("iptables -n -w -L")
|
||||
except process.CalledProcessError as e:
|
||||
logger.debug(
|
||||
"iptables seems to be not available, it outputs:\n%s",
|
||||
|
@ -289,7 +289,7 @@ def firewall_reload(skip_upnp=False):
|
|||
|
||||
# IPv6
|
||||
try:
|
||||
process.check_output("ip6tables -L")
|
||||
process.check_output("ip6tables -n -L")
|
||||
except process.CalledProcessError as e:
|
||||
logger.debug(
|
||||
"ip6tables seems to be not available, it outputs:\n%s",
|
||||
|
|
Loading…
Add table
Reference in a new issue