mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 23:48:11 +00:00
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:
commit
4c91056c86
@ -750,6 +750,9 @@ bool bgp_zebra_nexthop_set(union sockunion *local, union sockunion *remote,
|
|||||||
? peer->conf_if
|
? peer->conf_if
|
||||||
: peer->ifname,
|
: peer->ifname,
|
||||||
peer->bgp->vrf_id);
|
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)
|
} else if (peer->update_if)
|
||||||
ifp = if_lookup_by_name(peer->update_if,
|
ifp = if_lookup_by_name(peer->update_if,
|
||||||
peer->bgp->vrf_id);
|
peer->bgp->vrf_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user