diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-15 14:13:22 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@lenny.localdomain> | 2009-10-01 13:51:20 -0700 |
commit | f8e91a2a8591fada3004bd5aee8912017799bf2b (patch) | |
tree | c5f99345477018bf7ba41d0a27e8420b67be0a2e | |
parent | 24bdadbcbf93a9ae6822024b33ebd6f43b5488f4 (diff) | |
download | vyatta-cfg-qos-f8e91a2a8591fada3004bd5aee8912017799bf2b.tar.gz vyatta-cfg-qos-f8e91a2a8591fada3004bd5aee8912017799bf2b.zip |
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)
-rwxr-xr-x | scripts/vyatta-qos.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |