mirror of https://github.com/CISOfy/lynis.git
Update tests_firewalls
This commit is contained in:
parent
8ca5b83584
commit
13ced756cd
|
@ -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 New Issue