diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-17 14:45:47 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-07-17 14:45:47 -0700 |
commit | 699404b2b18ae03da9fcf6fe45eee33471c5624e (patch) | |
tree | c53085ac025dc9a5f387385a14d58df0611b7b71 | |
parent | 81b51bb9270e77289604493761a2f7cb047bd3ea (diff) | |
download | vyatta-cfg-qos-699404b2b18ae03da9fcf6fe45eee33471c5624e.tar.gz vyatta-cfg-qos-699404b2b18ae03da9fcf6fe45eee33471c5624e.zip |
Don't get classes confused and cause internal error
When validating the class rates, need to leave the array of
classes in original form for later command processing.
Bugfix 3458
-rw-r--r-- | scripts/VyattaQosTrafficShaper.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm index 325c02e..e282533 100644 --- a/scripts/VyattaQosTrafficShaper.pm +++ b/scripts/VyattaQosTrafficShaper.pm @@ -271,6 +271,7 @@ sub _validate { foreach my $class (@$classes) { $class->rateCheck($rate, "$self->{_level} class $class->{id}"); } + unshift @$classes, $default } } |