diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2023-09-28 17:59:22 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2023-11-21 18:10:38 +0100 |
| commit | b43ea569d99e8bc1225d0edbc93cec9f0fd7978b (patch) | |
| tree | d1e2332fc3cf0b42619873d4d16f026d8995c86a /lib/routemap_cli.c | |
| parent | e746985295ebe6b116300925677f661dd0db71cc (diff) | |
bgpd: fix bgp node created at withdraw event
The prefixes unexportation triggers an attempt to create
the VPN prefix node if that prefix was not already present.
For instance, if a given prefix is not exported because of
a route-map filtering, the withdraw process will try to
create the node with the 'bgp_afi_node_get()' command.
Fix this by replacing this call by the 'bgp_safi_node_lookup()'
function.
Fixes: ddb5b4880ba8 ("bgpd: vpn-vrf route leaking")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
