summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_conditional_adv.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-08-27 00:11:07 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-09-10 14:31:25 +0200
commit7b1158b169f59729bdde704539371cd419fe2138 (patch)
tree99838f12681fb1d1afad8600505fb68717e8f78d /bgpd/bgp_conditional_adv.c
parentbgpd: make bgp_keepalives_on|off connection oriented (diff)
downloadfrr-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.c2
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) {