Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tests_networking2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tests_networking b/include/tests_networking
index 41e0c3c6..cba09d21 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -292,10 +292,12 @@
MacOS)
if [ ! "${LSOFBINARY}" = "" ]; then
+ # UDP and TCP combined
FIND=`${LSOFBINARY} -i -P | awk '{ print $9"|"$8"|"$1"|" }' | sed 's/\(.*\)\-\>.*\(\|.*\)/\1\2/' | sed 's/\*/'$IP'/' | sort -u | grep -v "NAME"`
else
FIND=""
fi
+ # Not needed as we have a combined test
FIND2=""
;;