summaryrefslogtreecommitdiff
path: root/scripts/VyattaQosTrafficShaper.pm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-03 11:36:53 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-03 11:36:53 -0700
commit1c372300391087c05637ca4591d48a5f347d88f7 (patch)
tree4367d392669497e344ef2b8d75ff458717507c2c /scripts/VyattaQosTrafficShaper.pm
parenta6ed4e214cea48ff929bd89bd7507c753d6409e5 (diff)
downloadvyatta-cfg-qos-1c372300391087c05637ca4591d48a5f347d88f7.tar.gz
vyatta-cfg-qos-1c372300391087c05637ca4591d48a5f347d88f7.zip
Apply filters always to root.
This might resolve issues with set-dscp and later dscp matches.
Diffstat (limited to 'scripts/VyattaQosTrafficShaper.pm')
-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});
}
-
}
}