diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2019-07-03 14:25:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-03 14:25:18 -0400 |
| commit | 5787842b982ee785bc65b0ffe33ccdad2996d291 (patch) | |
| tree | 26d60c806b3237167663297b29c96706271495d5 | |
| parent | 76cff933c234e7d69a317a1437e2cd3482ed773e (diff) | |
| parent | 4195afbf08eb5f59469b8875df759ffd4226b393 (diff) | |
Merge pull request #4632 from manuhalo/fix_bgp_lu_update
bgpd: fix bgp-lu update bug
| -rw-r--r-- | bgpd/bgp_attr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index d46623c9d2..35946444dd 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -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 |
