mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
[NETW-3015] check for promiscuity value that is higher than 0 instead of just 1
This commit is contained in:
parent
232b1cdc3f
commit
a7b48e40b0
1 changed files with 1 additions and 1 deletions
|
|
@ -530,7 +530,7 @@
|
|||
FOUNDPROMISC=0
|
||||
for I in ${NETWORK}; do
|
||||
if [ ${USE_IP_INSTEAD_IFCONFIG} -eq 1 ]; then
|
||||
FIND=$(${IPBINARY} -o -d link show ${I} 2> /dev/null | ${GREPBINARY} 'promiscuity 1')
|
||||
FIND=$(${IPBINARY} -o -d link show ${I} 2> /dev/null | ${GREPBINARY} "promiscuity [1-9]")
|
||||
else
|
||||
FIND=$(${IFCONFIGBINARY} ${I} 2> /dev/null | ${GREPBINARY} PROMISC)
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue