From 5cb18159722b50818bb066e517d71b81aa37e58a Mon Sep 17 00:00:00 2001 From: Casper Date: Sun, 3 Oct 2021 12:41:35 +0200 Subject: [PATCH] Disable name resolution in iptables check (#2235) --- target/bin/fail2ban | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/bin/fail2ban b/target/bin/fail2ban index cf5d6f57..4ce4a3ae 100755 --- a/target/bin/fail2ban +++ b/target/bin/fail2ban @@ -3,7 +3,7 @@ # shellcheck source=../scripts/helper-functions.sh . /usr/local/bin/helper-functions.sh -if ! IPTABLES_OUTPUT=$(iptables -L 2>&1) +if ! IPTABLES_OUTPUT=$(iptables -L -n 2>&1) then echo "IPTables is not functioning correctly. The output of \`iptables -L\` was: