From: Maria Matejka Date: Sun, 19 May 2024 09:27:18 +0000 (+0200) Subject: L3VPN: Setting the bgp_ext_community flags properly X-Git-Tag: v3.0.0~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2900a608f0f960283a6744303b6fa244607ff8bc;p=thirdparty%2Fbird.git L3VPN: Setting the bgp_ext_community flags properly --- diff --git a/proto/l3vpn/l3vpn.c b/proto/l3vpn/l3vpn.c index 8b9fb9f49..8d087fe61 100644 --- a/proto/l3vpn/l3vpn.c +++ b/proto/l3vpn/l3vpn.c @@ -218,7 +218,7 @@ l3vpn_rt_notify(struct proto *P, struct channel *c0, const net_addr *n0, rte *ne ea_set_attr_u32(&new->attrs, &ea_gen_mpls_policy, 0, mc->label_policy); ea_set_attr(&new->attrs, EA_LITERAL_DIRECT_ADATA( - ea_bgp_ext_community, 0, l3vpn_export_targets(p, ecad))); + ea_bgp_ext_community, ea_bgp_ext_community->flags, l3vpn_export_targets(p, ecad))); /* Replace MPLS-incompatible nexthop with lookup in VRF table */ if (!nhad_orig || !mpls_valid_nexthop(nhad_orig) && p->p.vrf)