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:
authormboelen <michael@cisofy.com>2014-09-21 15:01:29 +0400
committermboelen <michael@cisofy.com>2014-09-21 15:01:29 +0400
commit911a5e88f6c868f9f9822bb23b207f92f273355b (patch)
treeaa8e45de1c037b077da793bc8fc8610c8edd3453
parent116b1eab977dc72ebbccf33cc13293bef766a7cd (diff)
Mac OS improvement for test NETW-3012
-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=""
;;