Is there a way to count the childrens of a class i.e. I want to do something like this.. Explantion : $count = class(5).childrensCount; $rate = (0.7/$count); htb(rate 1Mbps, ceil 1Mbps) { class(5, rate 0.7Mbps, ceil 1Mbps) { class(rate $rate Mbps, ceil 0.6Mbps) {}; class(rate $rate Mbps, ceil 0.6Mbps) {}; class(rate $rate Mbps, ceil 0.5Mbps) {}; .............................. } class(rate 0.3Mbps, ceil 1Mbps) { ...similar thing } } So that rates scalles according to the count of the children... raptor@unacs.bg _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/