diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-12 13:27:27 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-12 13:27:27 -0700 |
commit | 63115f7b7cd1705649d4a509faa5a1d623f1be12 (patch) | |
tree | 1c0f51eb5245e40320f8b3a77d45555672acf89c /lib | |
parent | 8a5189dd35e3dc6e57cb4a7339ca114c3ecc614e (diff) | |
download | vyatta-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')
-rw-r--r-- | lib/Vyatta/Qos/IngressLimit.pm | 2 |
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 ); |