From 0aa93c3ac3f0319740660989329bc9dfba36672d Mon Sep 17 00:00:00 2001 From: Federico Cuello Date: Mon, 12 Nov 2007 22:16:19 -0300 Subject: [PATCH] qos template fixes --- pymin/services/qos/templates/class_add | 2 +- pymin/services/qos/templates/host_add | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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} -- 2.43.0