summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-17 10:08:05 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-17 10:08:05 -0700
commitf98cb02f152e3cc62988f80e7f41669f62d08fe2 (patch)
tree14c12edc09280bf46c1d0531b712404cd604ba1d /lib/Vyatta
parent9c99f895424299b2aaff89f80cddbf31916a8566 (diff)
parent0f1993c80406bde36dda604d69345d86cdb528d2 (diff)
downloadvyatta-cfg-qos-f98cb02f152e3cc62988f80e7f41669f62d08fe2.tar.gz
vyatta-cfg-qos-f98cb02f152e3cc62988f80e7f41669f62d08fe2.zip
Merge branch 'kenwood' of vm:vyatta/kenwood/vyatta-cfg-qos into kenwood
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Qos/TrafficLimiter.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/TrafficLimiter.pm b/lib/Vyatta/Qos/TrafficLimiter.pm
index e5731d0..1e2c896 100644
--- a/lib/Vyatta/Qos/TrafficLimiter.pm
+++ b/lib/Vyatta/Qos/TrafficLimiter.pm
@@ -84,7 +84,8 @@ sub commands {
foreach my $class (@$classes) {
foreach my $match ( $class->matchRules() ) {
my $police = " police rate " . $class->{rate}
- . " burst " . $class->{burst};
+ . " burst " . $class->{burst}
+ . " action drop";
$match->filter( $dev, $parent, $class->{id}, $class->{priority},
undef, $police );