summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-02-07 15:14:40 +0100
committerMaria Matejka <mq@ucw.cz>2023-04-04 17:00:58 +0200
commit6543303ad4d509340643ae1f2b585f6278cf0463 (patch)
treef7fc6931409f154009558d57892c58c76f52bd92 /proto/bgp/bgp.c
parent958bb84f772ba098d67d70bcbbdb9b700f17abb7 (diff)
BFD notifications respect protocol loop settings
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r--proto/bgp/bgp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index f350c8ca..104e5862 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -1469,7 +1469,7 @@ bgp_update_bfd(struct bgp_proto *p, const struct bfd_options *bfd)
if (bfd && !p->bfd_req && !bgp_is_dynamic(p))
p->bfd_req = bfd_request_session(p->p.pool, p->remote_ip, p->local_ip,
p->cf->multihop ? NULL : p->neigh->iface,
- p->p.vrf, bgp_bfd_notify, p, bfd);
+ p->p.vrf, bgp_bfd_notify, p, p->p.loop, bfd);
if (!bfd && p->bfd_req)
{