HomeFreeBSD

rc.d/routing: Correct setting default gateway for each FIB

Description

rc.d/routing: Correct setting default gateway for each FIB

There was a mistake in the previous commit, it used the incorrect
spelling of the FIB variable name and was not functional

Also corrects an issue with the IPv6 default route variable name.

Fixes: 30659d1dcbcc ("Add support for adding default routes for other FIBs")
Sponsored-by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D37685

(cherry picked from commit f81be7a8318b178e406c12d98f78cfa2a4229af7)

Details

Provenance
andrew.fengler_scaleengine.comAuthored on Jun 26 2023, 6:40 PM
zleiCommitted on Aug 30 2023, 12:06 PM
Differential Revision
D37685: Fix per-FIB gateway support in rc.d/routing
Parents
rG96c4b704ec16: net: Do not overwrite if_vlan's PCP
Branches
Unknown
Tags
Unknown