diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-15 14:13:22 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-15 14:13:22 -0700 |
commit | db0b46b068eda15884eb92636d52d6f821869283 (patch) | |
tree | a62aab9741258d843052d52ed248ad03b4e8179c | |
parent | 87f3e3dd1d054e5c356b8b9e251eb23b6a35bb32 (diff) | |
download | vyatta-cfg-qos-db0b46b068eda15884eb92636d52d6f821869283.tar.gz vyatta-cfg-qos-db0b46b068eda15884eb92636d52d6f821869283.zip |
Fix policy update
If policy is updated, then the function interfaces_using() has
to set correct arguments for later update.
-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); } } |