mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 23:42:27 +00:00
Merge pull request #13249 from Pdoijode/connected-route-install-fix
zebra: Mark connected route as installed after interface flap event
This commit is contained in:
commit
52ccf12c30
@ -3745,6 +3745,11 @@ dplane_route_update_internal(struct route_node *rn,
|
||||
NEXTHOP_FLAG_FIB);
|
||||
}
|
||||
|
||||
if ((op == DPLANE_OP_ROUTE_UPDATE) && old_re && re &&
|
||||
(old_re != re) &&
|
||||
!CHECK_FLAG(re->status, ROUTE_ENTRY_INSTALLED))
|
||||
SET_FLAG(re->status, ROUTE_ENTRY_INSTALLED);
|
||||
|
||||
dplane_ctx_free(&ctx);
|
||||
return ZEBRA_DPLANE_REQUEST_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user