diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-01-11 13:31:40 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2020-01-11 13:31:40 +0300 |
commit | a7b48e40b0ef500b4e0213d2fd23194b1efd3f83 (patch) | |
tree | 28e08f474500a92bd137d7beeb7a06ab03809d8c /include/tests_networking | |
parent | 232b1cdc3f1df99fc120fb9a3516a4f633a816a3 (diff) |
[NETW-3015] check for promiscuity value that is higher than 0 instead of just 1
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 22dbcb53..f52be0ac 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -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 |