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
This commit is contained in:
teastep 2007-03-21 15:06:25 +00:00
parent 4d2afe84f1
commit 241bf4ffe5

View File

@ -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++;