mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
Update tests_firewalls
This commit is contained in:
parent
8ca5b83584
commit
13ced756cd
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue