From b899762c8e982b79109087cd3e7e9327dc76ca3d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 23 Jul 2010 09:40:34 -0700 Subject: Fix delete of interface qos policy Bug 5798 --- scripts/vyatta-qos.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl index 74c66e0..d80913d 100755 --- a/scripts/vyatta-qos.pl +++ b/scripts/vyatta-qos.pl @@ -379,7 +379,7 @@ GetOptions( "check-target=s" => \$checkTarget, ) or usage(); -delete_interface(@deleteInterface) if ( @deleteInterface == 1); +delete_interface(@deleteInterface) if ( $#deleteInterface == 1 ); update_interface(@updateInterface) if ( $#updateInterface == 2 ); start_interface(@startList) if ( @startList ); -- cgit v1.2.3