CPqD / ofsoftswitch13

OpenFlow 1.3 switch.
http://cpqd.github.com/ofsoftswitch13
304 stars 192 forks source link

Fix small error when refilling meter band buckets. #204

Closed ljerezchaves closed 7 years ago

ljerezchaves commented 9 years ago

This commit fixes the calculation of how many new tokens we are supposed to add to the meter band bucket, now considering that the elapsed interval can be different of 1000 msec (in fact, the current defaul value is 100ms).