diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-08-27 00:11:07 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-09-10 14:31:25 +0200 |
commit | 7b1158b169f59729bdde704539371cd419fe2138 (patch) | |
tree | 99838f12681fb1d1afad8600505fb68717e8f78d /bgpd/bgp_conditional_adv.c | |
parent | bgpd: make bgp_keepalives_on|off connection oriented (diff) | |
download | frr-7b1158b169f59729bdde704539371cd419fe2138.tar.xz frr-7b1158b169f59729bdde704539371cd419fe2138.zip |
bgpd: peer_established should be connection oriented
The peer_established function should be connection oriented.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_conditional_adv.c')
-rw-r--r-- | bgpd/bgp_conditional_adv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_conditional_adv.c b/bgpd/bgp_conditional_adv.c index 53652f7dc..b30052d95 100644 --- a/bgpd/bgp_conditional_adv.c +++ b/bgpd/bgp_conditional_adv.c @@ -194,7 +194,7 @@ static void bgp_conditional_adv_timer(struct event *t) if (!CHECK_FLAG(peer->flags, PEER_FLAG_CONFIG_NODE)) continue; - if (!peer_established(peer)) + if (!peer_established(peer->connection)) continue; FOREACH_AFI_SAFI (afi, safi) { |