diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-04-11 14:41:06 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-04-11 14:41:06 -0700 |
commit | b7cfe533b5d0dde7fffc773cad9452a330edd8b7 (patch) | |
tree | 620866b848b43f4d29df8c3fb14e6db9477fee9d /scripts/VyattaQosTrafficShaper.pm | |
parent | 733014cfc7b2e04caa44d9001549780727b206a4 (diff) | |
parent | 5d55f49def2ed0fd5740a4a345b756fce1892553 (diff) | |
download | vyatta-cfg-qos-b7cfe533b5d0dde7fffc773cad9452a330edd8b7.tar.gz vyatta-cfg-qos-b7cfe533b5d0dde7fffc773cad9452a330edd8b7.zip |
Merge branch 'glendale' into hollywood
Diffstat (limited to 'scripts/VyattaQosTrafficShaper.pm')
-rw-r--r-- | scripts/VyattaQosTrafficShaper.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm index ef7bd7b..4ea494c 100644 --- a/scripts/VyattaQosTrafficShaper.pm +++ b/scripts/VyattaQosTrafficShaper.pm @@ -124,7 +124,7 @@ my $prio_id = 0x4000 + $self->{id}; my $limit = $self->{_limit}; - print {$out} "handle $prio_id: prio\n"; + printf {$out} "handle %x: prio\n", $prio_id; if ($limit) { foreach my $i (qw/1 2 3/) { @@ -193,7 +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} " ceil $ceil" if ( $ceil ); print ${out} " burst $self->{_burst}" if ( defined $self->{_burst} ); print ${out} " prio $self->{_priority}" if ( defined $self->{_priority} ); print {$out} "\n"; |