summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-10 10:54:55 -0500
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-04-10 10:54:55 -0500
commit5d55f49def2ed0fd5740a4a345b756fce1892553 (patch)
tree89ca556204ab13fc972c8407ed854f57e17ab495 /scripts
parent0a62ca06260cc0a0f2b053d1d442b4c03b426493 (diff)
downloadvyatta-cfg-qos-5d55f49def2ed0fd5740a4a345b756fce1892553.tar.gz
vyatta-cfg-qos-5d55f49def2ed0fd5740a4a345b756fce1892553.zip
fix QoS traffic shaper priority-queue setup
Yet another place where id needs to be converted to hex. Should fix bug 3078.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/VyattaQosTrafficShaper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaQosTrafficShaper.pm b/scripts/VyattaQosTrafficShaper.pm
index 1d01ed5..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/) {