diff options
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++ ); } |