summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-02 20:23:07 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-02 20:23:07 -0700
commit46d9f133a49420e8e7385a87809ced30437bbdc6 (patch)
tree920c4d5dd7a73c1b5f9fa66c8e224bfc63caba5a
parent254f894a9ae414529b88bc4d248a1b9633ef87fe (diff)
downloadvyatta-cfg-qos-46d9f133a49420e8e7385a87809ced30437bbdc6.tar.gz
vyatta-cfg-qos-46d9f133a49420e8e7385a87809ced30437bbdc6.zip
set ceiling on class
ceiling parameter was not being forwarded to kernel.
-rw-r--r--scripts/VyattaQosTrafficShaper.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm
index 0f4d34c..ef7bd7b 100644
--- a/scripts/VyattaQosTrafficShaper.pm
+++ b/scripts/VyattaQosTrafficShaper.pm
@@ -193,6 +193,7 @@
printf ${out} "class add dev %s parent %x:1 classid %x:%x htb rate %s",
$dev, $parent, $parent, $self->{id}, $rate;
+ print ${out} " ceil $self->{_ceiling}" if ( defined $self->{_ceiling} );
print ${out} " burst $self->{_burst}" if ( defined $self->{_burst} );
print ${out} " prio $self->{_priority}" if ( defined $self->{_priority} );
print {$out} "\n";