TCC parse error.
<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 ); };
any ideas?
Signature · 10 lines
Sincerely, Artūras 'arturaz' Šlajus You can find me at: irc.freenode.org: nick arturaz irc.data.lt: nick arturaz ICQ: 157929934 Jabber: [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 2 lines · Artūras Šlajus
$monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq ( perturb 10sec ); };
Oh, you need to use kB kb or whatever... :/
Signature · 10 lines
Sincerely, Artūras 'arturaz' Šlajus You can find me at: irc.freenode.org: nick arturaz irc.data.lt: nick arturaz ICQ: 157929934 Jabber: [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
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
Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Arturaz,
: > $monika = class ( rate 8kbps, ceil 240kbps, burst 6kBps ) { sfq ( : > perturb 10sec ); };
: Oh, you need to use kB kb or whatever... :/
Yes. People on this list will be quite happy to help you in a variety of ways. Please do us all a courtesy of reading the error messages and making an effort to read the docs [0] and the LARTC FAQ [1] before sending a message to the list.
Thank you,
-Martin
[0] http://linux-ip.net/gl/tcng/
[1] http://www.docum.org/stef.coene/qos/faq/cache/
Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/