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/0aa93c3ac3f0319740660989329bc9dfba36672d?ds=sidebyside;hp=--cc qos template fixes --- 0aa93c3ac3f0319740660989329bc9dfba36672d 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}