summaryrefslogtreecommitdiff
path: root/scripts/vyatta-qos-util.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-06 12:04:55 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-06 12:04:55 -0800
commite956fa4071b05e427b260ee3332ac06afc91dde4 (patch)
treebcb055c6a18d6721c4e22db6fd72d786b38546ab /scripts/vyatta-qos-util.pl
parent1c7e03dc0c52c03e87487985ed5877be4e52134a (diff)
downloadvyatta-cfg-qos-e956fa4071b05e427b260ee3332ac06afc91dde4.tar.gz
vyatta-cfg-qos-e956fa4071b05e427b260ee3332ac06afc91dde4.zip
rename dsfield to dscp
And add more help text.
Diffstat (limited to 'scripts/vyatta-qos-util.pl')
-rwxr-xr-xscripts/vyatta-qos-util.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/vyatta-qos-util.pl b/scripts/vyatta-qos-util.pl
index 5dd869f..6ea1155 100755
--- a/scripts/vyatta-qos-util.pl
+++ b/scripts/vyatta-qos-util.pl
@@ -12,7 +12,8 @@ GetOptions(
"rate=s" => \$rate,
"burst=s" => \$burst,
"protocol=s" => \$protocol,
- "dsfield=s" => \$dsfield,
+ "dscp=s" => \$dsfield,
+ "tos=s" => \$dsfield,
);
if ( defined $rate ) {
@@ -39,6 +40,6 @@ print <<EOF;
usage: vyatta-qos-util.pl --rate rate
vyatta-qos-util.pl --burst size
vyatta-qos-util.pl --protocol protocol
- vyatta-qos-util.pl --dsfield tos|dsfield
+ vyatta-qos-util.pl --dscp tos|dsfield
EOF
exit 1;