summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-12 13:27:27 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-05-12 13:27:27 -0700
commit63115f7b7cd1705649d4a509faa5a1d623f1be12 (patch)
tree1c0f51eb5245e40320f8b3a77d45555672acf89c /lib/Vyatta
parent8a5189dd35e3dc6e57cb4a7339ca114c3ecc614e (diff)
downloadvyatta-cfg-qos-63115f7b7cd1705649d4a509faa5a1d623f1be12.tar.gz
vyatta-cfg-qos-63115f7b7cd1705649d4a509faa5a1d623f1be12.zip
Add drop action to ingress limit policy
Need to drop (not reclassify) packet when threshold is reached. Bug 5599
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Qos/IngressLimit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/IngressLimit.pm b/lib/Vyatta/Qos/IngressLimit.pm
index 4a24ea5..e9e2fbb 100644
--- a/lib/Vyatta/Qos/IngressLimit.pm
+++ b/lib/Vyatta/Qos/IngressLimit.pm
@@ -76,7 +76,7 @@ sub commands {
foreach my $class (@$classes) {
foreach my $match ( $class->matchRules() ) {
my $police = " police rate " . $class->{rate}
- . " burst " . $class->{burst};
+ . " action drop burst " . $class->{burst};
$match->filter( $dev, $parent, $class->{id}, $class->{priority},
undef, $police );