From 2055ea096923406e31a7d0a1a15406b3b62f2255 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 --- bfdd/bfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfdd/bfd.c b/bfdd/bfd.c index 8d9de857f5..32fa02d99d 100644 --- a/bfdd/bfd.c +++ b/bfdd/bfd.c @@ -1045,7 +1045,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