summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-12 09:24:19 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-12 09:24:19 -0700
commitcf51e90bfc2d1c3b58192a726e786b598681fb71 (patch)
tree04d13ca422bc33ab131f1d4fb82318baa992eaf2 /lib/Vyatta
parent8bf774cb76305e00b5540b4222570df862343449 (diff)
downloadvyatta-cfg-qos-cf51e90bfc2d1c3b58192a726e786b598681fb71.tar.gz
vyatta-cfg-qos-cf51e90bfc2d1c3b58192a726e786b598681fb71.zip
Rename limiter class priority field to precedence
Bug 5407 This fixes the confusing usage of priority field in both shaper and limiter class. In limiter, it is renamed to precedence since it controls the order of match rule evaluation.
Diffstat (limited to 'lib/Vyatta')
-rw-r--r--lib/Vyatta/Qos/LimiterClass.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/LimiterClass.pm b/lib/Vyatta/Qos/LimiterClass.pm
index 8622efd..b3aaa31 100644
--- a/lib/Vyatta/Qos/LimiterClass.pm
+++ b/lib/Vyatta/Qos/LimiterClass.pm
@@ -56,7 +56,7 @@ sub _define {
$self->{burst} = $config->returnValue("burst");
defined $self->{burst} or die "burst must be defined for $level\n";
- $self->{priority} = $config->returnValue("priority");
+ $self->{priority} = $config->returnValue("precedence");
foreach my $match ( $config->listNodes("match") ) {
$config->setLevel("$level match $match");