]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rc.d/routing: Correct setting default gateway for each FIB
authorAndrew Fengler <andrew.fengler@scaleengine.com>
Mon, 26 Jun 2023 18:40:21 +0000 (18:40 +0000)
committerZhenlei Huang <zlei@FreeBSD.org>
Wed, 30 Aug 2023 12:06:51 +0000 (20:06 +0800)
commite8deaa3c6b8b98f435a07b47aaf3c546e7e876d5
tree3d76ae8a433b047391c491416751521ad19227b0
parent96c4b704ec169044aa98867965e046a4728bcba1
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)
libexec/rc/rc.d/routing