diff --git a/elements/standard/bandwidthmeter.hh b/elements/standard/bandwidthmeter.hh index 8cc879dcf..5e0bd91ac 100644 --- a/elements/standard/bandwidthmeter.hh +++ b/elements/standard/bandwidthmeter.hh @@ -37,7 +37,7 @@ CLICK_DECLS class BandwidthMeter : public Element { protected: - RateEWMAX> _rate; + RateEWMA _rate; uint64_t _meter1; uint64_t *_meters; diff --git a/include/click/ewma.hh b/include/click/ewma.hh index e9dada425..d676076a9 100644 --- a/include/click/ewma.hh +++ b/include/click/ewma.hh @@ -490,9 +490,9 @@ class RateEWMAXParameters : public FixedEWMAXParameters }; /** @brief A RateEWMAX with stability shift 4 (alpha 1/16), scaling factor 10 - * (10 bits of fraction), one rate, and underlying type unsigned + * (10 bits of fraction), one rate, and underlying type uint64_t * that measures epochs in jiffies. */ -typedef RateEWMAX > RateEWMA; +typedef RateEWMAX > RateEWMA; template