From 5d55f49def2ed0fd5740a4a345b756fce1892553 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 10 Apr 2008 10:54:55 -0500 Subject: fix QoS traffic shaper priority-queue setup Yet another place where id needs to be converted to hex. Should fix bug 3078. --- scripts/VyattaQosTrafficShaper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/) { -- cgit v1.2.3