From f502df968b5c156c8f653aed2152e22865294d2e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 14 Mar 2008 13:48:06 -0700 Subject: fix script problem when updating interface Bugfix for 3010 --- scripts/vyatta-qos.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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); + } } } } -- cgit v1.2.3