Re: TCC parse error.

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arturaz,

To me, the error is clearly reported and identified, but perhaps you
overlooked it.

 : <stdin>:59: invalid type conversion \
 :        (expected size in bytes instead of rate) near ")"
                      ^^^^^^^^^^^^^^^^^^^^^
 : line 59:
 : $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps )
 :                                         { sfq ( perturb 10sec ); };

Try this instead:

 $monika = class ( rate 8kbps, ceil 240kbps, burst 6kB )
                                           { sfq ( perturb 10sec ); };

burst is a bucket size in bits (b) or bytes (B).

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@xxxxxxxxxxxxxx

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux