summaryrefslogtreecommitdiff
path: root/proto/ospf
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/ospf
parent958bb84f772ba098d67d70bcbbdb9b700f17abb7 (diff)
BFD notifications respect protocol loop settings
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index ca369819..b0fdc42f 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -777,7 +777,7 @@ ospf_neigh_update_bfd(struct ospf_neighbor *n, int use_bfd)
if (use_bfd && !n->bfd_req)
n->bfd_req = bfd_request_session(n->pool, n->ip, n->ifa->addr->ip,
n->ifa->iface, p->p.vrf,
- ospf_neigh_bfd_hook, n, NULL);
+ ospf_neigh_bfd_hook, n, p->p.loop, NULL);
if (!use_bfd && n->bfd_req)
{