Merge pull request #8961 from pguibert6WIND/bgp_unnumbered_config_find_nexthop

bgpd: associate correct nexthop when using peer link-local
This commit is contained in:
Donald Sharp 2021-07-13 11:55:14 -04:00 committed by GitHub
commit 4c91056c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -750,6 +750,9 @@ bool bgp_zebra_nexthop_set(union sockunion *local, union sockunion *remote,
? peer->conf_if
: peer->ifname,
peer->bgp->vrf_id);
else if (peer->update_if)
ifp = if_lookup_by_name(peer->update_if,
peer->bgp->vrf_id);
} else if (peer->update_if)
ifp = if_lookup_by_name(peer->update_if,
peer->bgp->vrf_id);