diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-23 09:40:34 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-23 15:33:53 -0700 |
commit | 1b45ea6d0b2e5de99e8ac3d35ed6fb6096057188 (patch) | |
tree | b78ebdba95399bead0535bbab00d20c661044429 | |
parent | 05b5b5da302d3cfa79d7ea455ef551c483c9cc0f (diff) | |
download | vyatta-cfg-qos-1b45ea6d0b2e5de99e8ac3d35ed6fb6096057188.tar.gz vyatta-cfg-qos-1b45ea6d0b2e5de99e8ac3d35ed6fb6096057188.zip |
Fix delete of interface qos policy
Bug 5798
-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 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 ); |