summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 18:27:48 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-20 18:27:48 -0700
commitff1d96e4d80b2e39a7597b5f496538da13d910dc (patch)
tree2c03f8dc28cce873d67f43b3443a20308ce0525e
parenta66d453b9f8e6011dabbf7f3c82090102174e90d (diff)
downloadvyatta-cfg-qos-ff1d96e4d80b2e39a7597b5f496538da13d910dc.tar.gz
vyatta-cfg-qos-ff1d96e4d80b2e39a7597b5f496538da13d910dc.zip
Don't mix string with format in printf
Cleaner to use %d for priority here.
-rw-r--r--lib/Vyatta/Qos/Match.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Vyatta/Qos/Match.pm b/lib/Vyatta/Qos/Match.pm
index 4406b98..b2b13da 100644
--- a/lib/Vyatta/Qos/Match.pm
+++ b/lib/Vyatta/Qos/Match.pm
@@ -105,8 +105,8 @@ sub filter {
my $ip = $self->{$ipver};
next unless $ip && $$ip{dsfield};
- printf "filter add dev %s parent %x: protocol %s prio $prio",
- $dev, $parent, $ipver;
+ printf "filter add dev %s parent %x: protocol %s prio %d",
+ $dev, $parent, $ipver, $prio;
printf " handle %s tcindex classid %x:%x\n",
$$ip{dsfield}, $parent, $classid;