Skip to content

Commit

Permalink
Change get_ecn to better reflect the actual value ending up in the sc…
Browse files Browse the repository at this point in the history
…ript
  • Loading branch information
hkbakke committed Jan 13, 2017
1 parent 423d3b2 commit 5cc975e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tc-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ get_ecn () {
# Takes input rate in mbit/s as parameter
local RATE=$1

if [[ ${RATE} -gt 3 ]]; then
if [[ ${RATE} -ge 4 ]]; then
echo "ecn"
else
echo "noecn"
Expand Down

1 comment on commit 5cc975e

@hkbakke
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned in #1

Please sign in to comment.