From cf51e90bfc2d1c3b58192a726e786b598681fb71 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 12 Jul 2010 09:24:19 -0700 Subject: 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. --- lib/Vyatta/Qos/LimiterClass.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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"); -- cgit v1.2.3