[Chilli] [PATCH] do not set bucket*size to BUCKET_SIZE_MIN if bandwithmax* is disabled

David Bird david at coova.com
Wed May 18 08:25:59 UTC 2011


But, there is:
    if (!conn->s_state.bucketupsize) {
      leaky_bucket_init(conn);
    } 
which if we allow bucketupsize to remain zero will keep being called. 


On Tue, 2011-05-17 at 17:11 +0200, Peter Warasin wrote:
> Hi guys
> 
> The attached patch fixes a bug which sets bucketupsize to
> BUCKET_SIZE_MIN also when it is disabled (0) in radius but the
> downstream bandwidth is set to some value.. or the other way around.
> 
> Fix is against 1.2.6
> 
> kind regards,
> peter
> 
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli




More information about the Chilli mailing list