diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-03 11:36:53 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-03 11:36:53 -0700 |
commit | 1c372300391087c05637ca4591d48a5f347d88f7 (patch) | |
tree | 4367d392669497e344ef2b8d75ff458717507c2c /scripts/VyattaQosTrafficShaper.pm | |
parent | a6ed4e214cea48ff929bd89bd7507c753d6409e5 (diff) | |
download | vyatta-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.pm | 4 |
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}); } - } } |