Fix some minor typos and inconsistencies

This commit is contained in:
hk 2016-11-18 11:39:25 +01:00
parent 81652d2310
commit 115fd74bcc
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# tc-gen # tc-gen
tc-gen is a wrapper around all the complexity of modern traffic shaping and 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 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. the heavy lifting.
Run tc-gen.sh without parameters to see more details. Run tc-gen.sh without parameters to see more details.

View File

@ -32,7 +32,7 @@ OPTIONS
-d DOWN_RATE_MBITS -d DOWN_RATE_MBITS
-f IFB_IF_NAME -f IFB_IF_NAME
If ingress shaping should be used instead of policing define a valid 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. configured beyond loading the ifb kernel module.
-b BURST_SIZE -b BURST_SIZE
Only used when ingress policing is used. For ingress shaping this is 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 if [[ -z ${UP_RATE} && -z ${DOWN_RATE} ]]; then
print_config "${IF_NAME}" print_config "${IF_NAME}"
exit exit 0
fi fi
clear_all clear_all