Skip to content
Commit 2386ce7a authored by Michael Scott's avatar Michael Scott Committed by Kumar Gala
Browse files

net: if: fix ND reachable calculation



The reachable calculation for ND is using fractions combined with
integers and getting rounded to very small results (1ms or 0ms).
Let's split up the fraction into it's numerator and denominator
and perform the math in a better way to get the correct results.

Signed-off-by: default avatarMichael Scott <michael@opensourcefoundries.com>
parent abbdd886
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment