mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 22:29:23 +00:00
bfdd: don't store interface pointer for multihop sessions
It breaks "neighbor A.B.C.D update-source" config in BGP. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
7bb5c50c83
commit
edc3622d82
@ -656,7 +656,7 @@ int bfd_recv_cb(struct thread *t)
|
|||||||
* If no interface was detected, save the interface where the
|
* If no interface was detected, save the interface where the
|
||||||
* packet came in.
|
* packet came in.
|
||||||
*/
|
*/
|
||||||
if (bfd->ifp == NULL)
|
if (!is_mhop && bfd->ifp == NULL)
|
||||||
bfd->ifp = if_lookup_by_index(ifindex, vrfid);
|
bfd->ifp = if_lookup_by_index(ifindex, vrfid);
|
||||||
|
|
||||||
/* Log remote discriminator changes. */
|
/* Log remote discriminator changes. */
|
||||||
|
Loading…
Reference in New Issue
Block a user