Mac OS improvement for test NETW-3012

This commit is contained in:
mboelen 2014-09-21 13:01:29 +02:00
parent 116b1eab97
commit 911a5e88f6
1 changed files with 2 additions and 0 deletions

View File

@ -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=""
;;