mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 15:30:02 +00:00
Merge pull request #4632 from manuhalo/fix_bgp_lu_update
bgpd: fix bgp-lu update bug
This commit is contained in:
commit
5787842b98
@ -2974,6 +2974,8 @@ size_t bgp_packet_mpattr_prefix_size(afi_t afi, safi_t safi, struct prefix *p)
|
||||
int size = PSIZE(p->prefixlen);
|
||||
if (safi == SAFI_MPLS_VPN)
|
||||
size += 88;
|
||||
else if (safi == SAFI_LABELED_UNICAST)
|
||||
size += BGP_LABEL_BYTES;
|
||||
else if (afi == AFI_L2VPN && safi == SAFI_EVPN)
|
||||
size += 232; // TODO: Maximum possible for type-2, type-3 and
|
||||
// type-5
|
||||
|
Loading…
Reference in New Issue
Block a user