[Click] BWRatedUnqueue handler not functioning?

Eddie Kohler kohler at cs.ucla.edu
Wed Apr 27 10:29:00 EDT 2005


Oops!  Our mistake.  Here's the patch; it is checked in.

E


Index: elements/standard/ratedunqueue.hh
===================================================================
RCS file: 
/home/am0/click/cvsroot/release/one/elements/standard/ratedunqueue.hh,v
retrieving revision 1.18
diff -u -r1.18 ratedunqueue.hh
--- elements/standard/ratedunqueue.hh   12 May 2004 19:08:26 -0000      
1.18
+++ elements/standard/ratedunqueue.hh   27 Apr 2005 14:28:09 -0000
@@ -32,6 +32,7 @@

      int configure(Vector<String> &, ErrorHandler *);
      void configuration(Vector<String> &) const;
+    bool can_live_reconfigure() const  { return true; }
      int initialize(ErrorHandler *);
      void add_handlers();




On Apr 26, 2005, at 7:14 AM, Kristof Cauwel wrote:

> Hello,
>
> I've been using a BandwidthRatedUnqueue element in my config for some 
> time now. Last month however, when I switched to click 1.4.3 my config 
> appeared to be broken.
> When I try to write to the "rate" handler of the bwratedunqueue 
> element, it spills out an invalid argument error. Note that I'm 
> writing exactly the same as in my previous click version...
>
> here's what I do:
> echo "128 kbps" >rate
> no changes when i do: cat rate
>
> pico rate
> change the current value in 128 kbps
> exit and answer "y" when asked to save
> pico won't close with an invalid argument error.
>
>
> Did the handler change in some way, or is it simply broken? If I just 
> load the config with "128 kbps" as argument, it works fine. So the 
> handler is the problem here. Other handlers seem to work just fine. 
> Anyone got a clue here?
>
> thanks,
> kristof
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list