[Bug 280097] Warning printed when FIBs are expanded is unhelpful and confusing

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Jul 2024 20:03:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280097

--- Comment #1 from Jeremy Cooper <jeremy.fbbg@baymoo.org> ---
I think this change is even better.

--- route_tables.c.orig 2024-07-02 12:18:49.627899000 -0700
+++ route_tables.c      2024-07-02 13:03:15.319885000 -0700
@@ -231,9 +231,13 @@
            M_RTABLE, M_WAITOK | M_ZERO);

        if ((num_tables > 1) && (V_rt_add_addr_allfibs == 0))
-               printf("WARNING: Adding ifaddrs to all fibs has been turned off
"
-                       "by default. Consider tuning %s if needed\n",
+               printf("%s adjusted to %d. REMINDER: "
+                       "Interface addresses are no longer automatically added
"
+                       "to additional FIBs. Consider setting %s if needed\n",
+                       "net.fibs",
+                       num_tables,
                        "net.add_addr_allfibs");
+

 #ifdef FIB_ALGO
        fib_grow_rtables(num_tables);

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