summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2022-04-28 18:32:20 +0200
committerLouis Scalbert <louis.scalbert@6wind.com>2022-12-16 14:52:47 +0100
commit0f001a82a862df4dfd105264f75b901927b7597a (patch)
treee8a037382abb7ae72ae789e1572b19557729bf08 /lib/command_py.c
parent1c4c40696f5526ef7e8684a268f414c962346007 (diff)
bgpd: fix prefix VRF leaking with 'network import-check' (1/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. Always validate the nexthop of BGP static routes (i.e. defined with the network statement) if 'network import-check' is defined on the source BGP session and the prefix is present in source RIB. It fixes the issue when the 'rt import' statement is defined after the 'network' ones. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions