|
@@ -3659,7 +3659,7 @@ static void mlxsw_sp_fib6_entry_type_set(struct mlxsw_sp_fib_entry *fib_entry,
|
|
|
* local, which will cause them to be trapped with a lower
|
|
|
* priority than packets that need to be locally received.
|
|
|
*/
|
|
|
- if (rt->rt6i_flags & RTF_LOCAL)
|
|
|
+ if (rt->rt6i_flags & (RTF_LOCAL | RTF_ANYCAST))
|
|
|
fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_TRAP;
|
|
|
else if (rt->rt6i_flags & RTF_REJECT)
|
|
|
fib_entry->type = MLXSW_SP_FIB_ENTRY_TYPE_LOCAL;
|