mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 11:25:41 +00:00
Merge pull request #7387 from dslicenc/bgp-update-delay-local
bgpd: delay local routes until update-delay is over
This commit is contained in:
commit
cf7de4c3aa
@ -403,12 +403,13 @@ int bgp_generate_updgrp_packets(struct thread *thread)
|
|||||||
/*
|
/*
|
||||||
* The code beyond this part deals with update packets, proceed only
|
* The code beyond this part deals with update packets, proceed only
|
||||||
* if peer is Established and updates are not on hold (as part of
|
* if peer is Established and updates are not on hold (as part of
|
||||||
* update-delay post processing).
|
* update-delay processing).
|
||||||
*/
|
*/
|
||||||
if (peer->status != Established)
|
if (peer->status != Established)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (peer->bgp->main_peers_update_hold)
|
if ((peer->bgp->main_peers_update_hold)
|
||||||
|
|| bgp_update_delay_active(peer->bgp))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (peer->t_routeadv)
|
if (peer->t_routeadv)
|
||||||
|
Loading…
Reference in New Issue
Block a user