From 586c1800c447ff099d34889b23647c4733876d9b Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 27 Jun 2018 16:51:53 +0200 Subject: Nest: Neighbor cache cleanups Simplify neighbor cache code, fix several minor bugs, and improve handling of ONLINK flag. --- proto/bfd/bfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/bfd') diff --git a/proto/bfd/bfd.c b/proto/bfd/bfd.c index 64d5007b..fdcd7225 100644 --- a/proto/bfd/bfd.c +++ b/proto/bfd/bfd.c @@ -775,7 +775,7 @@ bfd_start_neighbor(struct bfd_proto *p, struct bfd_neighbor *n) return; } - struct neighbor *nb = neigh_find2(&p->p, &n->addr, n->iface, NEF_STICKY); + struct neighbor *nb = neigh_find(&p->p, n->addr, n->iface, NEF_STICKY); if (!nb) { log(L_ERR "%s: Invalid remote address %I%J", p->p.name, n->addr, n->iface); -- cgit v1.2.3