[Bug 271375] defaultrouter_fibX in rc.conf does not work.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 May 2023 04:36:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271375

            Bug ID: 271375
           Summary: defaultrouter_fibX in rc.conf does not work.
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: shino@fornext.jp

route__default_fibX is not set correctly due to a variable name typo.

--- routing.orig        2023-05-12 13:14:59.532175000 +0900
+++ routing     2023-05-12 13:16:00.291891000 +0900
@@ -171,7 +171,7 @@
                                ;;
                        *)
                                static_routes="${static_routes}
_default_fib${_fibnum}"
-                               eval route__default_fib${fibnum}="'default
${_fib_gw} -fib ${_fibnum}'"
+                               eval route__default_fib${_fibnum}="'default
${_fib_gw} -fib ${_fibnum}'"
                                ;;
                        esac
                done

-- 
You are receiving this mail because:
You are the assignee for the bug.