Commits

Anonymous committed 519e0f9

Fix copypaste error

Comments (0)

Files changed (1)

src/lq_plugin_default_ffeth.c

         uint32_t interval;
 
         interval = tlq->missed_hellos * link->loss_helloint / 1000;
-        if (interval > LQ_FF_WINDOW) {
+        if (interval > LQ_FFETH_WINDOW) {
           received = 0;
         }
         else {
-          received = (received * (LQ_FF_WINDOW - interval)) / LQ_FF_WINDOW;
+          received = (received * (LQ_FFETH_WINDOW - interval)) / LQ_FFETH_WINDOW;
         }
       }