diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 18:27:48 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-20 18:27:48 -0700 |
commit | ff1d96e4d80b2e39a7597b5f496538da13d910dc (patch) | |
tree | 2c03f8dc28cce873d67f43b3443a20308ce0525e /lib/Vyatta/Qos | |
parent | a66d453b9f8e6011dabbf7f3c82090102174e90d (diff) | |
download | vyatta-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.
Diffstat (limited to 'lib/Vyatta/Qos')
-rw-r--r-- | lib/Vyatta/Qos/Match.pm | 4 |
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; |