summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-14 15:48:03 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-14 15:48:03 -0700
commit4f48211ecb5eca3fe592e3f2188497d064868da5 (patch)
tree0495641a2f8e8a3f349ef2caa5f6e9c6b2997067 /scripts
parent4d578c3703624e2ab560fb51904ce226d0433b56 (diff)
downloadvyatta-op-qos-4f48211ecb5eca3fe592e3f2188497d064868da5.tar.gz
vyatta-op-qos-4f48211ecb5eca3fe592e3f2188497d064868da5.zip
Add -p (pretty) option to filter show
The format of tc command output could not be safely changed without breaking legacy scripts, so the comprimise was to add a -pretty option.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-queue2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-queue b/scripts/vyatta-show-queue
index 689d040..54f6291 100755
--- a/scripts/vyatta-show-queue
+++ b/scripts/vyatta-show-queue
@@ -21,7 +21,7 @@ if [[ $# -eq 1 ]]; then
else
case $2 in
filter )
- /sbin/tc filter show dev $1 ;;
+ /sbin/tc -p filter show dev $1 ;;
class )
/sbin/tc -s -d class show dev $1 ;;
*)