mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-11 21:56:54 +00:00
bgpd: bgpd crash in update all type2 routes
Ticket: CM-18924 Review: Trivial Testing: Manual Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
parent
3194717445
commit
a6ad0a4183
@ -1476,6 +1476,7 @@ static int update_all_type2_routes(struct bgp *bgp, struct bgpevpn *vpn)
|
||||
bgpevpn_get_rmac(vpn, &attr_def_gw.rmac);
|
||||
bgp_attr_default_set(&attr_ip6, BGP_ORIGIN_IGP);
|
||||
bgp_attr_default_set(&attr_sticky_ip6, BGP_ORIGIN_IGP);
|
||||
bgp_attr_default_set(&attr_def_gw_ip6, BGP_ORIGIN_IGP);
|
||||
attr_ip6.nexthop = vpn->originator_ip;
|
||||
attr_ip6.mp_nexthop_global_in = vpn->originator_ip;
|
||||
attr_ip6.mp_nexthop_len = BGP_ATTR_NHLEN_IPV4;
|
||||
|
Loading…
Reference in New Issue
Block a user