From 13f9ba7a6159b940b396d157eb2c372dd35cc980 Mon Sep 17 00:00:00 2001 From: Nye Liu Date: Wed, 26 Oct 2016 14:15:48 -0700 Subject: [PATCH] Area stack children --- plugins/network/tc_ | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/network/tc_ b/plugins/network/tc_ index 77000c4e..a870bf3c 100755 --- a/plugins/network/tc_ +++ b/plugins/network/tc_ @@ -56,12 +56,14 @@ case $1 in print $2 "_" $3 "_" $4 ".min 0"; print $2 "_" $3 "_" $4 ".cdef " $2 "_" $3 "_" $4 ",8,*"; }' + # TODO: only AREASTACK things with no children # the child(s) mytc $DEVICE | grep " parent " | tr "_" " " | awk '{ print $2 "_" $3 "_" $4 ".label " $2 "/" $3 ":" $4; print $2 "_" $3 "_" $4 ".type DERIVE"; print $2 "_" $3 "_" $4 ".min 0"; print $2 "_" $3 "_" $4 ".cdef " $2 "_" $3 "_" $4 ",8,*"; + print $2 "_" $3 "_" $4 ".draw AREASTACK"; }' exit 0 ;;