summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/RoundRobin.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/Qos/RoundRobin.pm')
-rw-r--r--lib/Vyatta/Qos/RoundRobin.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Vyatta/Qos/RoundRobin.pm b/lib/Vyatta/Qos/RoundRobin.pm
index 07aa8f7..54a1350 100644
--- a/lib/Vyatta/Qos/RoundRobin.pm
+++ b/lib/Vyatta/Qos/RoundRobin.pm
@@ -85,12 +85,7 @@ sub commands {
printf "qdisc add dev %s root handle %x: drr\n", $dev, $parent;
foreach my $class (sort { $a->{id} <=> $b->{id} } @$classes) {
- $class->gen_class( $dev, 'drr', $parent );
- $class->gen_leaf( $dev, $parent );
-
- foreach my $match ( $class->matchRules() ) {
- $match->filter( $dev, $parent, $class->{id}, $class->{id} );
- }
+ $class->commands( $dev, 'drr', $parent);
}
}