From c1fe58dca6c46d2c37763b3e2c9adf6eb47deaaa Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 21 Jul 2010 14:08:55 -0700 Subject: Fix formatting of default filter rule --- lib/Vyatta/Qos/TrafficLimiter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Vyatta') diff --git a/lib/Vyatta/Qos/TrafficLimiter.pm b/lib/Vyatta/Qos/TrafficLimiter.pm index 93ea302..32e2dd3 100644 --- a/lib/Vyatta/Qos/TrafficLimiter.pm +++ b/lib/Vyatta/Qos/TrafficLimiter.pm @@ -110,7 +110,7 @@ sub commands { # Null filter for default rule printf "filter add dev %s parent %x: prio %d", $dev, $parent, 255; print " protocol all basic"; - print " %s flowid %x:%x\n", $police, $parent, $id; + printf " %s flowid %x:%x\n", $police, $parent, $id; } else { foreach my $match ( $class->matchRules() ) { $match->filter( $dev, $parent, $id, $class->{priority}, undef, -- cgit v1.2.3