From a88f98ae6686b423d63830dfacb41008de3c6572 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Sun, 14 Oct 2018 15:39:55 +0200 Subject: [PATCH] bfdd: fix multi hop hash lookup Use the proper multi hop hash for matching multi hop peers. Spotted by Dmitrii Turlupov. Signed-off-by: Rafael Zalamena (cherry picked from commit 2055ea096923406e31a7d0a1a15406b3b62f2255) --- bfdd/bfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfdd/bfd.c b/bfdd/bfd.c index b3253a14d7..66c781c290 100644 --- a/bfdd/bfd.c +++ b/bfdd/bfd.c @@ -1092,7 +1092,7 @@ struct bfd_session *bfd_mhop_lookup(struct bfd_mhop_key mhop) _mhop_key(&bs, &mhop); - return hash_lookup(bfd_shop_hash, &bs); + return hash_lookup(bfd_mhop_hash, &bs); } struct bfd_vrf *bfd_vrf_lookup(int vrf_id) -- 2.39.5