|
@@ -33,7 +33,10 @@ check_tc_version()
|
|
echo "SKIP: iproute2 too old; tc is missing JSON support"
|
|
echo "SKIP: iproute2 too old; tc is missing JSON support"
|
|
exit 1
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
+}
|
|
|
|
|
|
|
|
+check_tc_shblock_support()
|
|
|
|
+{
|
|
tc filter help 2>&1 | grep block &> /dev/null
|
|
tc filter help 2>&1 | grep block &> /dev/null
|
|
if [[ $? -ne 0 ]]; then
|
|
if [[ $? -ne 0 ]]; then
|
|
echo "SKIP: iproute2 too old; tc is missing shared block support"
|
|
echo "SKIP: iproute2 too old; tc is missing shared block support"
|