summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/VyattaQosTrafficShaper.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm
index 5d96249..02bfd31 100644
--- a/scripts/VyattaQosTrafficShaper.pm
+++ b/scripts/VyattaQosTrafficShaper.pm
@@ -341,6 +341,7 @@ sub commands {
my $parent = 1;
my $root = "root";
+ # if we need to change dsfield values, then put dsmark in front
if ($usedsmark) {
# dsmark max index must be power of 2
my $indices = $maxid + 1;
@@ -374,9 +375,8 @@ sub commands {
$class->htbClass($out, $dev, $parent, $rate);
foreach my $match ($class->matchRules()) {
- $match->filter($out, $dev, $parent, $class->{id});
+ $match->filter($out, $dev, 1, $class->{id});
}
-
}
}