Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jul 2024 20:03:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280097] Warning printed when FIBs are expanded is unhelpful and confusing
Message-ID:  <bug-280097-227-96IKSKl2kZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280097-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280097-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280097

--- 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 =3D=3D 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 ad=
ded
"
+                       "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);

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280097-227-96IKSKl2kZ>