From: Federico Cuello Date: Tue, 13 Nov 2007 01:16:19 +0000 (-0300) Subject: qos template fixes X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/c48222dec45e211ac261eaada6f8c9657470b1e7?ds=sidebyside;hp=-c qos template fixes --- c48222dec45e211ac261eaada6f8c9657470b1e7 diff --git a/pymin/services/qos/templates/class_add b/pymin/services/qos/templates/class_add index 5570e46..7f62e35 100644 --- a/pymin/services/qos/templates/class_add +++ b/pymin/services/qos/templates/class_add @@ -1 +1 @@ -tc class add dev ${dev} classid 1:${id} htb rate ${rate} +tc class add dev ${dev} classid 1:${cid} htb rate ${rate}kbps diff --git a/pymin/services/qos/templates/host_add b/pymin/services/qos/templates/host_add index 096dca9..d14de00 100644 --- a/pymin/services/qos/templates/host_add +++ b/pymin/services/qos/templates/host_add @@ -1 +1 @@ -tc filter add dev ${dev} protocol ip u32 match ip src ${ip} flowid 1:{id} +tc filter add dev ${dev} protocol ip u32 match ip src ${ip} flowid 1:${cid}