From f8e91a2a8591fada3004bd5aee8912017799bf2b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 15 Jun 2009 14:13:22 -0700 Subject: Fix policy update If policy is updated, then the function interfaces_using() has to set correct arguments for later update. (cherry picked from commit db0b46b068eda15884eb92636d52d6f821869283) --- scripts/vyatta-qos.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vyatta-qos.pl') diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl index 9844d06..b7106c2 100755 --- a/scripts/vyatta-qos.pl +++ b/scripts/vyatta-qos.pl @@ -200,7 +200,7 @@ sub interfaces_using { next unless $cur; # these are arguments to update_interface() - push @inuse, [ $name, $direction, $name ] + push @inuse, [ $name, $direction, $policy ] if ($cur eq $policy); } } -- cgit v1.2.3