mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 02:43:41 +00:00
Merge pull request #7558 from opensourcerouting/bfd-v6-same
bfdd: fix multiple links same address
This commit is contained in:
commit
f2e1528b62
@ -1743,9 +1743,12 @@ struct bfd_session *bfd_key_lookup(struct bfd_key key)
|
||||
|
||||
/* Handle case where a context more complex ctx is present.
|
||||
* input has no iface nor local-address, but a context may
|
||||
* exist
|
||||
* exist.
|
||||
*
|
||||
* Only applies to IPv4, because IPv6 requires either
|
||||
* local-address or interface.
|
||||
*/
|
||||
if (!bs.key.mhop) {
|
||||
if (!bs.key.mhop && bs.key.family == AF_INET) {
|
||||
ctx.result = NULL;
|
||||
ctx.given = &bs;
|
||||
hash_walk(bfd_key_hash, &bfd_key_lookup_ignore_partial_walker,
|
||||
|
Loading…
Reference in New Issue
Block a user