diff options
author | An-Cheng Huang <ancheng@ubnt.com> | 2013-10-04 16:27:49 -0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-01-23 22:34:00 +0100 |
commit | f061da6ae1b5ee7634db859a26c10c85d50deb38 (patch) | |
tree | ae49f8b59c8d29324d3a05fb5790dfda3f64a2ca /lib/Vyatta/Qos/Priority.pm | |
parent | d65d5a51ba76af337e94e5c709d913ef2ec7fb9e (diff) | |
download | vyatta-cfg-qos-f061da6ae1b5ee7634db859a26c10c85d50deb38.tar.gz vyatta-cfg-qos-f061da6ae1b5ee7634db859a26c10c85d50deb38.zip |
Bug #86: Apply unique prio for all matches
This was also suggested by Carl Byington.
Signed-off-by: Daniil Baturin <daniil@baturin.org>
Diffstat (limited to 'lib/Vyatta/Qos/Priority.pm')
-rw-r--r-- | lib/Vyatta/Qos/Priority.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/Priority.pm b/lib/Vyatta/Qos/Priority.pm index 4b7654d..9fb5bce 100644 --- a/lib/Vyatta/Qos/Priority.pm +++ b/lib/Vyatta/Qos/Priority.pm @@ -104,9 +104,9 @@ sub commands { $def_prio, $def_prio, $def_prio; # prio is not really classful! + my $prio = 1; foreach my $class (@$classes) { $class->gen_leaf( $dev, $parent ); - my $prio = 1; foreach my $match ( $class->matchRules() ) { $match->filter( $dev, $parent, $class->{id}, $prio++ ); } |