HomeFreeBSD

routing: Fix newly-added rt_get_inet[6]_parent() api.

Description

routing: Fix newly-added rt_get_inet[6]_parent() api.

Correctly handle the case when no default route is present.

Reported by: Konrad <konrad.kreciwilk at korbank.pl>

(cherry picked from commit f84c30106e8b725774b4e9a32c8dd11c90da8c25)

Details

Provenance
melifaroAuthored on Aug 30 2021, 9:10 PM
Parents
rG4e97cbba1c79: lltable: fix crash introduced in c541bd368f86.
Branches
Unknown
Tags
Unknown