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 <rzalamena@opensourcerouting.org>
This commit is contained in:
Rafael Zalamena 2018-10-14 15:39:55 +02:00
parent 97dc689417
commit 2055ea0969

View File

@ -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)