mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 13:23:44 +00:00
Merge pull request #14044 from FRRouting/mergify/bp/stable/8.5/pr-14041
bgpd: Do not try to redistribute routes if we are shutting down (backport #14041)
This commit is contained in:
commit
a24953201b
@ -8652,6 +8652,10 @@ void bgp_redistribute_add(struct bgp *bgp, struct prefix *p,
|
||||
route_map_result_t ret;
|
||||
struct bgp_redist *red;
|
||||
|
||||
if (CHECK_FLAG(bgp->flags, BGP_FLAG_DELETE_IN_PROGRESS) ||
|
||||
bgp->peer_self == NULL)
|
||||
return;
|
||||
|
||||
/* Make default attribute. */
|
||||
bgp_attr_default_set(&attr, bgp, BGP_ORIGIN_INCOMPLETE);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user