From 71f56ba1de7d6537255a6df783cebe4d2b6f0786 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 9 Apr 2008 15:00:49 -0500 Subject: Fix match rule formatting Internal TC commands use hex for identifiers and one place in perl script forgot to reformat. Bugfix for 3142 from Chris Smith --- scripts/VyattaQosMatch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/VyattaQosMatch.pm b/scripts/VyattaQosMatch.pm index cfc5ed2..44ece49 100644 --- a/scripts/VyattaQosMatch.pm +++ b/scripts/VyattaQosMatch.pm @@ -88,5 +88,5 @@ sub filter { print {$out} " match meta\(vlan mask 0xfff eq $vif\)" if (defined $vif); } - print {$out} " classid $parent:$id\n"; + printf {$out} " classid $parent:%x\n", $id; } -- cgit v1.2.3