Skip to content

Commit

Permalink
Disable resolve ip
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharyrok committed Oct 30, 2023
1 parent 1131e76 commit 917b296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 917b296

Please sign in to comment.