summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/VyattaQosTrafficShaper.pm1
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
}
}