diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-14 13:48:06 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-14 13:48:06 -0700 |
commit | f502df968b5c156c8f653aed2152e22865294d2e (patch) | |
tree | 7eddc55fd5adc73e5957be4fb9bc6cb4a6cb35af /scripts | |
parent | 487e995ce3ceb09cfac4568b8836c312acb054e8 (diff) | |
download | vyatta-cfg-qos-f502df968b5c156c8f653aed2152e22865294d2e.tar.gz vyatta-cfg-qos-f502df968b5c156c8f653aed2152e22865294d2e.zip |
fix script problem when updating interface
Bugfix for 3010
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-qos.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl index 8ad3068..e946551 100755 --- a/scripts/vyatta-qos.pl +++ b/scripts/vyatta-qos.pl @@ -180,8 +180,9 @@ sub update_policy { $config->setLevel("interfaces ethernet"); foreach my $interface ( $config->listNodes() ) { foreach my $direction ( $config->listNodes("$interface qos-policy") ) { - if ($config->returnValue("$interface qos-policy $direction") eq $name) + if ($config->returnValue("$interface qos-policy $direction") eq $name) { update_interface($interface, $direction, $name); + } } } } |