Update tests_firewalls

This commit is contained in:
nser77 2024-10-08 11:59:24 +02:00 committed by GitHub
parent 8ca5b83584
commit 13ced756cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@
chains="INPUT FORWARD OUTPUT"
fi
for chain in ${chains}; do
iptables -t "${table}" -S "${chain}" 2>/dev/zero | while read -r line; do
${IPTABLESBINARY} -t "${table}" -S "${chain}" 2>/dev/zero | while read -r line; do
set -- ${line}
while [ $# -gt 0 ]; do
if [ "${1}" = "-P" ]; then