summaryrefslogtreecommitdiff
path: root/proto/static
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/static
parent958bb84f772ba098d67d70bcbbdb9b700f17abb7 (diff)
BFD notifications respect protocol loop settings
Diffstat (limited to 'proto/static')
-rw-r--r--proto/static/static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/static/static.c b/proto/static/static.c
index 82fbfe7a..86142790 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -213,7 +213,7 @@ static_update_bfd(struct static_proto *p, struct static_route *r)
// ip_addr local = ipa_nonzero(r->local) ? r->local : nb->ifa->ip;
r->bfd_req = bfd_request_session(p->p.pool, r->via, nb->ifa->ip,
nb->iface, p->p.vrf,
- static_bfd_notify, r, NULL);
+ static_bfd_notify, r, p->p.loop, NULL);
}
if (!bfd_up && r->bfd_req)