summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 );