From 1ad38d74eabe8f0e8605d2a92bddab96f29ee1f5 Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 2 Jan 2008 04:26:16 +0000 Subject: [PATCH] Final fix for police fiasco git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7992 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/lib.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-shell/lib.tc b/Shorewall-shell/lib.tc index 9d630bac9..acb01d3bf 100644 --- a/Shorewall-shell/lib.tc +++ b/Shorewall-shell/lib.tc @@ -191,7 +191,7 @@ setup_traffic_shaping() if [ $(rate_to_kbit ${inband}) -gt 0 ]; then run_tc qdisc add dev $device handle ffff: ingress - run_tc filter add dev $device parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate ${inband} burst 10k drop classid :1 + run_tc filter add dev $device parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate ${inband} burst 10k drop fi eval ${dev}_devnum=$devnum