Skip to content

Commit

Permalink
zebra: Pass in ZEBRA_ROUTE_MAX instead of true
Browse files Browse the repository at this point in the history
zebra_nhg_install_kernel takes a route type.  We don't
know it at that particular spot but we should not be passing
in `true`.  Let's use ZEBRA_ROUTE_MAX to indicate we do not
know, so that the correct thing is done.

Signed-off-by: Donald Sharp <[email protected]>
(cherry picked from commit 58722b9)

# Conflicts:
#	zebra/zebra_nhg.c
  • Loading branch information
donaldsharp authored and mergify[bot] committed Sep 20, 2024
1 parent 14a2073 commit 99b45c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zebra/zebra_nhg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,12 @@ 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);
<<<<<<< HEAD
zebra_nhg_install_kernel(rb_node_dep->nhe);
=======
zebra_nhg_install_kernel(rb_node_dep->nhe,
ZEBRA_ROUTE_MAX);
>>>>>>> 58722b9448 (zebra: Pass in ZEBRA_ROUTE_MAX instead of true)
}
}
}
Expand Down

0 comments on commit 99b45c1

Please sign in to comment.