diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-13 12:47:39 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-13 12:47:39 +0300 |
commit | 5c38a0bdb48b4d8f264931111eaefb4ad4b4500e (patch) | |
tree | a1cc1b7f2575cc3611e66b518fdd79975ac9ea24 /include/tests_networking | |
parent | 7d33353058258e0726075bfd952c77071f8e7fac (diff) |
Tests using lsof may ignore threads (if supported)
Diffstat (limited to 'include/tests_networking')
-rw-r--r-- | include/tests_networking | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking index a04fe393..36b86671 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -402,7 +402,7 @@ if [ -n "${LSOFBINARY}" ]; then LogText "Test: Retrieving lsof information to find listening ports" # UDP and TCP combined - FIND=$(${LSOFBINARY} -i -P | ${AWKBINARY} '{ print $9"|"$8"|"$1"|" }' | ${SEDBINARY} 's/\(.*\)\-\>.*\(\|.*\)/\1\2/' | ${SEDBINARY} 's/\*/'$IP'/' | ${SORTBINARY} -u | ${GREPBINARY} -v "NAME") + FIND=$(${LSOFBINARY}${LSOF_EXTRA_OPTIONS} -i -P | ${AWKBINARY} '{ print $9"|"$8"|"$1"|" }' | ${SEDBINARY} 's/\(.*\)\-\>.*\(\|.*\)/\1\2/' | ${SEDBINARY} 's/\*/'$IP'/' | ${SORTBINARY} -u | ${GREPBINARY} -v "NAME") else FIND="" fi |