diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-05-28 14:33:44 +0300 | 
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-06-01 18:08:29 +0300 | 
| commit | edc3622d8283b8d8fb66b08d7b1256b75b1a7617 (patch) | |
| tree | 6954634fef24f165cb7f131688d261acbe9aca28 /bfdd/bfd_packet.c | |
| parent | 7bb5c50c83a3bc8e870398f087f9347aed99b04c (diff) | |
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>
Diffstat (limited to 'bfdd/bfd_packet.c')
| -rw-r--r-- | bfdd/bfd_packet.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/bfd_packet.c b/bfdd/bfd_packet.c index c871e2abe1..3d6ca6ddd3 100644 --- a/bfdd/bfd_packet.c +++ b/bfdd/bfd_packet.c @@ -656,7 +656,7 @@ int bfd_recv_cb(struct thread *t)  	 * If no interface was detected, save the interface where the  	 * packet came in.  	 */ -	if (bfd->ifp == NULL) +	if (!is_mhop && bfd->ifp == NULL)  		bfd->ifp = if_lookup_by_index(ifindex, vrfid);  	/* Log remote discriminator changes. */  | 
