mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 07:48:38 +00:00
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:
parent
97dc689417
commit
2055ea0969
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user