diff --git a/README.md b/README.md index 66cdbe6..d31c5f6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # tc-gen tc-gen is a wrapper around all the complexity of modern traffic shaping and policing on linux. It tries to use best practices whenever possible while still -being generic and easy to use. The script is is using HTB with fq_codel to do +being generic and easy to use. The script is using HTB with fq_codel to do the heavy lifting. Run tc-gen.sh without parameters to see more details. diff --git a/src/tc-gen.sh b/src/tc-gen.sh index 561cc8e..365ce52 100755 --- a/src/tc-gen.sh +++ b/src/tc-gen.sh @@ -32,7 +32,7 @@ OPTIONS -d DOWN_RATE_MBITS -f IFB_IF_NAME If ingress shaping should be used instead of policing define a valid - ifb interface. Normally ifb0 and ifb1 is available if nothing is + ifb interface. Normally ifb0 and ifb1 are available if nothing is configured beyond loading the ifb kernel module. -b BURST_SIZE Only used when ingress policing is used. For ingress shaping this is @@ -389,7 +389,7 @@ fi if [[ -z ${UP_RATE} && -z ${DOWN_RATE} ]]; then print_config "${IF_NAME}" - exit + exit 0 fi clear_all