Change get_ecn to better reflect the actual value ending up in the script
This commit is contained in:
parent
423d3b2401
commit
5cc975e16a
|
|
@ -169,7 +169,7 @@ get_ecn () {
|
||||||
# Takes input rate in mbit/s as parameter
|
# Takes input rate in mbit/s as parameter
|
||||||
local RATE=$1
|
local RATE=$1
|
||||||
|
|
||||||
if [[ ${RATE} -gt 3 ]]; then
|
if [[ ${RATE} -ge 4 ]]; then
|
||||||
echo "ecn"
|
echo "ecn"
|
||||||
else
|
else
|
||||||
echo "noecn"
|
echo "noecn"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue