]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix vpn import from local vrf with no retain
authorLouis Scalbert <louis.scalbert@6wind.com>
Mon, 11 Sep 2023 16:33:23 +0000 (18:33 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Tue, 12 Sep 2023 13:17:37 +0000 (15:17 +0200)
commitb1c2c70828da0fdf0619cdcb494a430f36e37172
tree1cb5c331d80cb404c3ebe52532f3cd4929dc96b9
parentedd243280c56018e413a5773b2e8cb82d8be8421
bgpd: fix vpn import from local vrf with no retain

The BGP "no retain" VPN option avoids storing VPN prefixes that are not
imported in the incoming BGP table (aka. Adj RIB in). When a VPN import
policy is changed, BGP does a soft clear so that a prefix refresh is
requested from the peers. However, the import from local VPN prefixes
is never requested.

Fix this issue by requesting a local import refresh.

Fixes: a486300b26 ("bgpd: implement retain route-target all behaviour")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgp_mplsvpn.h