[LARTC] Fwd: police burst is mandatory?

Stas Oskin stas.oskin at gmail.com
Mon Jun 18 20:10:52 CEST 2007


Hi.

I'm using the following filter from lartc "ultimate PPP" example:

tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \

0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1

It works fine, but when I remove the "burst 10k", I receive the following
error:

"burst" requires "rate".
Illegal "police"

AFAIK, burst is how many bytes can be transferred over "rate" up to "ceil"
and is an optional parameter, but here it is mandatory? Also, shouldn't the
"ceil" parameter absence make this parameter useless?

Thanks,
Stas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20070618/2e8e15e8/attachment.html


More information about the LARTC mailing list