summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-11 14:16:28 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-06-11 14:16:28 -0700
commit1a7f8785849d11201e1d510f993bba96627d13d0 (patch)
treef83069a565e7bb77c9158f69ee1e2e5f752c45f6
parent2cae8f5ae6858e0dd6858c4f489d937c98bfa95a (diff)
downloadvyatta-cfg-qos-1a7f8785849d11201e1d510f993bba96627d13d0.tar.gz
vyatta-cfg-qos-1a7f8785849d11201e1d510f993bba96627d13d0.zip
Fix list policy
Last round of changes broke policy name completion
-rwxr-xr-xscripts/vyatta-qos.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl
index d901027..1f26de7 100755
--- a/scripts/vyatta-qos.pl
+++ b/scripts/vyatta-qos.pl
@@ -339,11 +339,11 @@ GetOptions(
delete_interface($deleteInterface) if ( $deleteInterface );
update_interface(@updateInterface) if ( $#updateInterface == 1 );
-start_interface(@startList) if (@startList);
+start_interface(@startList) if ( @startList );
-list_policy() if ( $listPolicy );
+list_policy($listPolicy) if ( $listPolicy );
create_policy(@createPolicy) if ( $#createPolicy == 1 );
-delete_policy(@deletePolicy) if (@deletePolicy);
-apply_policy(@applyPolicy) if (@applyPolicy);
+delete_policy(@deletePolicy) if ( @deletePolicy );
+apply_policy(@applyPolicy) if ( @applyPolicy );
-update_action($updateAction) if ($updateAction);
+update_action($updateAction) if ( $updateAction );