mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 23:04:36 -04:00
fibs: Suppress the WARNING message for setups with multiple fibs
Change 2d39824195 switched net.add_addr_allfibs default to 0. The
warning message is for potential users of the feature. Well since all
supported releases have 0 as default, those potential users may have
already gotten the notification, emitting this WARNING every time
increasing the fib number is less useful but rather confusing to other
users. So let's suppress it right now.
PR: 280097
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D45971
This commit is contained in:
parent
f21a6a6a8f
commit
a48f7a2eb9
1 changed files with 0 additions and 5 deletions
|
|
@ -231,11 +231,6 @@ grow_rtables(uint32_t num_tables)
|
|||
new_rt_tables = mallocarray(num_tables * (AF_MAX + 1), sizeof(void *),
|
||||
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",
|
||||
"net.add_addr_allfibs");
|
||||
|
||||
#ifdef FIB_ALGO
|
||||
fib_grow_rtables(num_tables);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue