mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
BGP: Fix IPv6 MPLS/VPN multicast SAFI
This commit is contained in:
parent
ccee67ca3b
commit
49c7ef3b21
@ -1483,7 +1483,8 @@ bgp_encode_nlri_vpn6(struct bgp_write_state *s, struct bgp_bucket *buck, byte *b
|
|||||||
ADVANCE(pos, size, 1);
|
ADVANCE(pos, size, 1);
|
||||||
|
|
||||||
/* Encode MPLS labels */
|
/* Encode MPLS labels */
|
||||||
bgp_encode_mpls_labels(s, s->mpls_labels, &pos, &size, pos - 1);
|
if (s->mpls)
|
||||||
|
bgp_encode_mpls_labels(s, s->mpls_labels, &pos, &size, pos - 1);
|
||||||
|
|
||||||
/* Encode route distinguisher */
|
/* Encode route distinguisher */
|
||||||
put_u64(pos, net->rd);
|
put_u64(pos, net->rd);
|
||||||
|
Loading…
Reference in New Issue
Block a user