diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-10-14 15:39:55 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2018-10-14 15:39:55 +0200 |
commit | 2055ea096923406e31a7d0a1a15406b3b62f2255 (patch) | |
tree | 679be3a7f0d00ac4346028b30f44d8a2ab855808 /bfdd | |
parent | Merge pull request #3142 from donaldsharp/bgp_peerhash (diff) | |
download | frr-2055ea096923406e31a7d0a1a15406b3b62f2255.tar.xz frr-2055ea096923406e31a7d0a1a15406b3b62f2255.zip |
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>
Diffstat (limited to 'bfdd')
-rw-r--r-- | bfdd/bfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfd.c b/bfdd/bfd.c index 8d9de857f..32fa02d99 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) |