Skip to content

Commit

Permalink
Followup of upstream 8e2b1b129815d3e631aa425ed37899c78ea24e65 additio…
Browse files Browse the repository at this point in the history
…n of MFIB_ENTRY_FLAG_NONE
  • Loading branch information
pimvanpelt committed Nov 7, 2021
1 parent 852a590 commit 6caa5e8
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions lcpng_nl_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ lcp_nl_table_add_or_lock (uint32_t id, fib_protocol_t fproto)

for (ii = 0; ii < ARRAY_LEN (ip4_specials); ii++)
{
mfib_table_entry_path_update (nlt->nlt_mfib_index,
&ip4_specials[ii],
MFIB_SOURCE_PLUGIN_LOW, &path);
mfib_table_entry_path_update (
nlt->nlt_mfib_index, &ip4_specials[ii], MFIB_SOURCE_PLUGIN_LOW,
MFIB_ENTRY_FLAG_NONE, &path);
}
}
else if (FIB_PROTOCOL_IP6 == fproto)
Expand All @@ -361,9 +361,9 @@ lcp_nl_table_add_or_lock (uint32_t id, fib_protocol_t fproto)

for (ii = 0; ii < ARRAY_LEN (ip6_specials); ii++)
{
mfib_table_entry_path_update (nlt->nlt_mfib_index,
&ip6_specials[ii],
MFIB_SOURCE_PLUGIN_LOW, &path);
mfib_table_entry_path_update (
nlt->nlt_mfib_index, &ip6_specials[ii], MFIB_SOURCE_PLUGIN_LOW,
MFIB_ENTRY_FLAG_NONE, &path);
}
}
}
Expand Down Expand Up @@ -515,7 +515,8 @@ lcp_nl_route_add (struct rtnl_route *rr)
MFIB_ENTRY_FLAG_ACCEPT_ALL_ITF);

mfib_table_entry_paths_update (nlt->nlt_mfib_index, &mpfx,
MFIB_SOURCE_PLUGIN_LOW, np.paths);
MFIB_SOURCE_PLUGIN_LOW,
MFIB_ENTRY_FLAG_NONE, np.paths);
}
else
{
Expand Down Expand Up @@ -859,7 +860,8 @@ lcp_nl_ip4_mroutes_add_del (u32 sw_if_index, u8 is_add)
if (is_add)
{
mfib_table_entry_path_update (mfib_index, &ip4_specials[ii],
MFIB_SOURCE_PLUGIN_LOW, &path);
MFIB_SOURCE_PLUGIN_LOW,
MFIB_ENTRY_FLAG_NONE, &path);
}
else
{
Expand Down Expand Up @@ -891,7 +893,8 @@ lcp_nl_ip6_mroutes_add_del (u32 sw_if_index, u8 is_add)
if (is_add)
{
mfib_table_entry_path_update (mfib_index, &ip6_specials[ii],
MFIB_SOURCE_PLUGIN_LOW, &path);
MFIB_SOURCE_PLUGIN_LOW,
MFIB_ENTRY_FLAG_NONE, &path);
}
else
{
Expand Down

0 comments on commit 6caa5e8

Please sign in to comment.