mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:01:47 +00:00
zebra: limit no re-install to NHG PROTO using routes
Limit the not re-installation of routes with the same NHG ID to routes that are using the new NHG PROTO API. This would only include sharpd and EVPN-MH for now. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
3509dd49c0
commit
3d3a9dc8a7
@ -2367,7 +2367,8 @@ dplane_route_update_internal(struct route_node *rn,
|
||||
*/
|
||||
if ((dplane_ctx_get_type(ctx) == dplane_ctx_get_old_type(ctx))
|
||||
&& (dplane_ctx_get_nhe_id(ctx)
|
||||
== dplane_ctx_get_old_nhe_id(ctx))) {
|
||||
== dplane_ctx_get_old_nhe_id(ctx))
|
||||
&& (dplane_ctx_get_nhe_id(ctx) >= ZEBRA_NHG_PROTO_LOWER)) {
|
||||
struct nexthop *nexthop;
|
||||
|
||||
if (IS_ZEBRA_DEBUG_DPLANE)
|
||||
|
Loading…
Reference in New Issue
Block a user