• Baptiste Jonglez's avatar
    Cap neighbour cost to INFINITY · cfdb93fc
    Baptiste Jonglez authored
    With large txcost and rxcost, the calculated cost to a neighbour can
    exceed 65535, i.e. INFINITY.  This is not a real issue, since any cost
    over 65535 is equally seen as infinity.
    
    However, it can confuse other tools (e.g. babelweb) who wouldn't
    expect a cost higher than infinity.
    cfdb93fc
neighbour.c 9.37 KB