HomeFreeBSD

[fib algo][dxr] Fix division by zero.

Description

[fib algo][dxr] Fix division by zero.

A division by zero would occur if DXR would be activated on a vnet
with no IP addresses configured on any interfaces.

PR: 257965
MFC after: 3 days
Reported by: Raul Munoz

Details

Provenance
zecAuthored on Sep 16 2021, 2:34 PM
Parents
rG12061d2626e0: diff: link with libm for sqrt()
Branches
Unknown
Tags
Unknown