diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-13 10:23:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 10:23:42 +0200 |
commit | e32fa3edcbf7b4297383b0929a091532d863c0c2 (patch) | |
tree | f6ce80205429a0ac34611a80d091aac431a658ad /bgpd | |
parent | Merge pull request #14404 from donaldsharp/snmp_mess_ups (diff) | |
parent | topotests: check route import in bgp_vpnv4_noretain (diff) | |
download | frr-e32fa3edcbf7b4297383b0929a091532d863c0c2.tar.xz frr-e32fa3edcbf7b4297383b0929a091532d863c0c2.zip |
Merge pull request #14400 from louis-6wind/local-no-retain
bgpd: fix import from a local VRF with no bgp retain
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_mplsvpn.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_mplsvpn.h b/bgpd/bgp_mplsvpn.h index 62748a9e5..19b6f4eb7 100644 --- a/bgpd/bgp_mplsvpn.h +++ b/bgpd/bgp_mplsvpn.h @@ -245,8 +245,7 @@ static inline void vpn_leak_postchange(enum vpn_policy_direction direction, if (!CHECK_FLAG(bgp_vpn->af_flags[afi][SAFI_MPLS_VPN], BGP_VPNVX_RETAIN_ROUTE_TARGET_ALL)) bgp_clear_soft_in(bgp_vpn, afi, SAFI_MPLS_VPN); - else - vpn_leak_to_vrf_update_all(bgp_vrf, bgp_vpn, afi); + vpn_leak_to_vrf_update_all(bgp_vrf, bgp_vpn, afi); } if (direction == BGP_VPN_POLICY_DIR_TOVPN) { |