diff options
-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); + } } } } |