From 241bf4ffe55a8acbcdd82d87eeff8edfa8d6339d Mon Sep 17 00:00:00 2001 From: teastep Date: Wed, 21 Mar 2007 15:06:25 +0000 Subject: [PATCH] Fix ingress qdisc configuration problem that resulted in *very* slow net access git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5605 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- New/Shorewall/Tc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/New/Shorewall/Tc.pm b/New/Shorewall/Tc.pm index f9aa908c6..1bceebb29 100644 --- a/New/Shorewall/Tc.pm +++ b/New/Shorewall/Tc.pm @@ -417,7 +417,7 @@ sub setup_traffic_shaping() { if ( $inband ) { emit "run_tc qdisc add dev $device handle ffff: ingress"; - emit "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 flowid :1"; + emit "run_tc filter add dev $device parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate ${inband}kbit burst 10k drop flowid :1"; } $devref->{number} = $devnum++;