summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-09-20 14:29:20 -0500
committerGitHub <noreply@github.com>2024-09-20 14:29:20 -0500
commitbb995fb9158a89dd831ed3a165ece6eef370625a (patch)
tree77346daf692659614f3e965a61b3af072535892a
parent65609a672f0ad659748fe6e731d1752558d84281 (diff)
parent58722b94484b7838eee15b615909c44ec08289ae (diff)
Merge pull request #16881 from donaldsharp/zebra_nhg_install_fix
zebra: Pass in ZEBRA_ROUTE_MAX instead of true
-rw-r--r--zebra/zebra_nhg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c
index 637eabde8d..4ee9dc5fcf 100644
--- a/zebra/zebra_nhg.c
+++ b/zebra/zebra_nhg.c
@@ -1167,7 +1167,8 @@ static void zebra_nhg_handle_install(struct nhg_hash_entry *nhe, bool install)
"%s nh id %u (flags 0x%x) associated dependent NHG %pNG install",
__func__, nhe->id, nhe->flags,
rb_node_dep->nhe);
- zebra_nhg_install_kernel(rb_node_dep->nhe, true);
+ zebra_nhg_install_kernel(rb_node_dep->nhe,
+ ZEBRA_ROUTE_MAX);
}
}
}