summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2022-04-29 14:26:04 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2022-12-16 14:52:47 +0100
commit1e24860bf7042a96bc0f22df60f73e7aa04f31f6 (patch)
treeb071a114061a60944b14b5e7a47183b849c8e405 /lib/command_py.c
parentd0a55f87e9cd4d67e9514f31cfe589eeaec0ed4a (diff)
bgpd: fix prefix VRF leaking with 'network import-check' (4/5)
If 'network import-check' is defined on the source BGP session, prefixes that are stated in the network command cannot be leaked to the other VRFs BGP table even if they are present in the origin VRF RIB if the 'rt import' statement is defined after the 'network <prefix>' ones. When a prefix nexthop is updated, update the prefix route leaking. The current state of nexthop validation is now stored in the attributes of the bgp path info. Attributes are compared with the previous ones at route leaking update so that a nexthop validation change now triggers the update of destination VRF BGP table. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions