mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1734 from Tharyrok/ench-firewall-disable-resovle-ip
[enh] Reload firewall disable resolve IP
This commit is contained in:
commit
f56f235705
1 changed files with 2 additions and 2 deletions
|
@ -256,7 +256,7 @@ def firewall_reload(skip_upnp=False):
|
||||||
|
|
||||||
# IPv4
|
# IPv4
|
||||||
try:
|
try:
|
||||||
process.check_output("iptables -w -L")
|
process.check_output("iptables -n -w -L")
|
||||||
except process.CalledProcessError as e:
|
except process.CalledProcessError as e:
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"iptables seems to be not available, it outputs:\n%s",
|
"iptables seems to be not available, it outputs:\n%s",
|
||||||
|
@ -289,7 +289,7 @@ def firewall_reload(skip_upnp=False):
|
||||||
|
|
||||||
# IPv6
|
# IPv6
|
||||||
try:
|
try:
|
||||||
process.check_output("ip6tables -L")
|
process.check_output("ip6tables -n -L")
|
||||||
except process.CalledProcessError as e:
|
except process.CalledProcessError as e:
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"ip6tables seems to be not available, it outputs:\n%s",
|
"ip6tables seems to be not available, it outputs:\n%s",
|
||||||
|
|
Loading…
Add table
Reference in a new issue